Monolithic system
The operating system is written as a collection of procedures, linked together into a single large executable binary program.
How does the monolithic system invoke the OS structure
A main program that invokes the requested service procedure.
A set of service procedures that carry out the system calls.
A set of utility procedures that help the service procedures.
Layered systems layers
0 – dealt with allocation of the processor
1 – memory management
2- process communication
3- I/O management
4- User programs
5- System Operator
Microkernels
Hybrid Kernel
runs some services in the kernel space
to reduce the performance overhead of a traditional microkernel,
while still running kernel code as servers in the user space.
Why is it important for an operating system to have kernel mode and user mode?
Threads
Starting up chrome
Virtual Machine Uses
Game emulators Dual Booting Disaster Recovery cloud tech Containers
BIOS proper def
Race conditions
When it comes to processes and threads a race condition can cause bugs.
This occurs when a process or a thread depend on some shared state and they are not mutually exclusive.
Mutual Exclusion
Mutual exclusion is the requirement that one thread of execution never enters a critical section while another thread happening at the same time of execution is already using the critical section.
Stack
2 major functions of stack
a) Push - Adding information to the stack
b) Pop - Removing information from the stack
GRUB proper def