Diving Into Some Core Operating Systems
Diving Into Some Core Operating Systems
🧠 1. Process Management
Contains info about a process: PID, state (running, waiting), program counter, CPU
registers, memory limits, etc.
Acts as the identity card of a process.
✅ Also Learn:
🧠 2. Memory Management
a. Paging:
b. Segmentation:
✅ Also Learn:
Internal vs External fragmentation
🧠 3. Deadlock
1. Mutual Exclusion
2. Hold and Wait
3. No Preemption
4. Circular Wait
b. Deadlock Prevention:
c. Deadlock Detection:
✅ Also Learn:
🧠 4. File Systems
✅ Also Learn:
🧠 5. Synchronization
a. Semaphore:
Integer variable, 2 types:
o Binary (0 or 1)
o Counting (≥ 0)
Operations: wait(P), signal(V)
Used for locking; ensures only one thread accesses a critical section.
✅ Also Learn:
Producer-Consumer Problem
Reader-Writer Problem
Dining Philosophers Problem
a. Virtual Memory:
b. Thrashing:
Excessive page faults → OS spends more time swapping pages than executing processes.
✅ Also Learn:
Topic Sub-Topics
Multithreading Threads vs processes, Thread lifecycle
System Calls fork(), exec(), wait(), exit()
Interprocess Communication (IPC) Shared memory, Pipes, Message queues
I/O Management Disk scheduling (FCFS, SSTF, SCAN)
Booting Process BIOS → Bootloader → OS Kernel
Topic Sub-Topics
Kernel Types Monolithic, Microkernel
Scheduling Metrics Turnaround time, Waiting time, Response time