What Is Os — Kernel ((better))
The kernel, with the help of the CPU’s Memory Management Unit (MMU), maintains page tables. These are maps that translate a process’s fake “virtual address” into a real “physical address.” When a process touches a memory location that isn’t mapped— page fault —the kernel wakes up. It might load data from disk (swap), allocate a new physical page, or, if the access was illegal, kill the process with the infamous SIGSEGV (Segmentation Fault).
The kernel’s only true output is abstraction . It takes the terrifying chaos of physical reality—timers, interrupts, memory banks, disk sectors—and presents a clean, virtualized, polite interface: system calls. what is os kernel
Hardware is asynchronous. The disk finishes reading. The network card receives a packet. The keyboard is pressed. The kernel must respond to these events in microseconds. The kernel, with the help of the CPU’s