Functions of Kernel
Functions of Kernel
The kernel is responsible for various critical functions that ensure the smooth operation of the computer system. These functions include:
1. Process Management
2. Memory Management
3. Device Management
5. Resource Management
7. Inter-Process Communication
Working of Kernel
A kernel loads first into memory when an operating system is loaded and remains in memory until the operating system is shut down again. It is
responsible for various tasks such as disk management , task management, and memory management .
The kernel has a process table that keeps track of all active processes
The process table contains a per-process region table whose entry points to entries in the region table.
The kernel loads an executable file into memory during the 'exec' system call'.
It decides which process should be allocated to the processor to execute and which process should be kept in the main memory to execute. It
basically acts as an interface between user applications and hardware. The major aim of the kernel is to manage communication between
software i.e. user-level applications and hardware i.e., CPU and disk memory.
Objectives of Kernel :
Kernels are the heart of operating systems , managing how hardware and software communicate and ensuring everything runs smoothly.
Different types of kernels—like monolithic, microkernels, hybrid kernels, and others—offer various ways to balance performance, flexibility, and
ease of maintenance. Understanding these kernel types helps us appreciate how operating systems work and how they handle the complex
tasks required to keep our computers and devices running efficiently.