What is Kernel in OS? What are basic functions of the kernels?
What is Kernel?
Kernel is a computer program that is heart and main part of the operating system. Since the operating system control the whole computer system then after that kernel also control and manage the everything of the operating system because the kernel is used to control the system and so many things in the operating system and includes of computer system. When the system bootloader then the kernel is the first program that is loaded in the system and control the everything of the system not only control but also manage in uses of these things in operating system. The kernel always remain same after the system is shutdown because the kernel remain same in the memory .
So, kernel is always ended when the system shutdown through the operating system means the system off and also operating system is ended then the kernel is ended and not remains the same in the system . When the kernel is ended then the kernel not control any things in the system.
Kernel controls the main things in operating system
if we see that kernel also control the main things in operating system but also control the low level task in the operating system like the memory management , task management and other so many things in the operating system and control the computer system . Kernel always gives the interface between the user and the hardware components in the system. Because the kernel is always help the user and this is the main part of the kernel in the system. When the process makes a call for the kernel then is called a system call. System call used for the to makes a call between the user and process or the processor because the system call play the very important role in the system . Kernel is very important in the process and this is main part of the operating system which is play the main role and used this system in the every chance in system.
Kernel Memory Space
kernel always given the some save memory space in the system and this save space in the particular area in the memory and only kernel used or access this save memory space other application program not access this save kernel space . The question is that why other application program not access this save memory ? So, the kernel not gives any access to other application program because the kernel is always loaded in this save memory space that way other program not loaded in this save memory spaces . So this is the basic reason that kernel not given the access to other program application because this save memory space is only for the kernel.
Apart from this, The memory used b the other application program this memory called User space. User space is always open for the every application program in the system and also in the operating system. So; the system which provide the both memory spaces in the system that is called operating system. So , the two memory spaces in operating system and due to this the communication is bit slower in the system.
The kernel is given dispatcher to allocate to control the various issues in the system and this is main issue in the kernel because the dispatcher the communication not very best that way the solving of that issue to used the processor to initiate the system in the process to getting the help of the processor .
This system is used to control the present processor in kernel because if kernel not control the currently running processor then the system not aware what happened in the system . So, this is very important in the system to aware the currently situation what in the system. Due to this system get the so many help to find out in the system so many things in the operating system.
basic functions of the kernels
The two main basic functions of the kernels are as follow (according to IT series Book)
- It provide a system for a creation and the deletion of the process.
- It provide a CPU scheduling, memory management and the task management for these processors.
If see the first function of the kernel, this system provide the creation and the deletion of the processor because the processor during the processing creating the so many issues that way kernel given the chance for create new processor and also delete the processor during the processing or after or before the processing .
The second function of the kernel looked about the given some thing to the processor because these type of thing not always remains same in whole time . These things are change according to the situation and also according to the memory management, the system change the situation according to the task management because the processor change the data and other so many things in the given range of the situation of scheduling .
Kernels Importance in maintaining the situation of the operating system
Kernels are play the very important role in maintaining the situation of the operating system and also the computer system in the settlement. The kernel includes the dispatcher to allocate the central processor, the determine the cause of interrupt and initiate its processing , and some provision for communication among the various system and the user tasks currently active in the system because the dispatcher is also creation and the deletion of the process and the remaining process is used in the so many things .
Functions of Kernels
The four basic functions of the kernels are as follow:
- Access Computer Resources
- Resources Management
- Memory Management
- Device Management
So, these are the four basic functions of the kernel. which are above. So, let explain one by one.
Access Computer Resources
A kernel can access the different resources like the CPU, I/O devices and other so many things in the system. It act like the bridge between the system and other resources. Kernel is used in the system for so many things like the CPU because the kernel is only thing in the system that is use for the system . Kernel are play the very important role in outside of the system and also which is best for the operating system. That way the kernels are very use full system in the operating system and the computer system.
Kernels not get the resources only when he use the system but also control these all resources in the system that is used for the system. Because this only act due to the kernels control the every things in the operating system and computer system. Kernels are control the every things in the system because the kernels use in the system and the main things is that CPU and the I/O devices outside the data from the system.
A kernel can access different computer resources like the CPU, I/O devices and Other resources. It acts as a main thing between the user and the resources of the System. This system is used to use to different part of the CPU , I/O devices and so many things in the system.
In the resources management system, the only one and the simple to share the resources to all processor and the same resources to share the all processor in the system. If not share the same resources in the system then the kernels faced the difficult situation because other resources not getting the access when the kernels get help during working in the system . When kernels given the all resources to all processor at the same time.
So, this is very important for the kernels to given the all resources and also share the same resources for all processor Therefore, the system and kernels are helped to all resources when the kernels share the other resources at the same time for all processors in operating system and this is used only for this type of processors who getting the resources for used in the system . The main thing is that kernels share his all same resources for all processors at the same time in the system. That way the kernels are the very best to use such type of the operating system.
It is the duty of a kernel to share the resources between various process in such a way that there is same access to the resources by every process. Because if not given the different processor then so many Problems are occurred due to not given the different processor.
Every process need some memory space for its execution because if memory not given by the system then process not execute and if the process not execute then the kernels faced the issues also if kernels faced the issues then automatically operating system faced so many issues in the whole system.
In the memory management system process get his memory space through the operating system and also execute in this memory management because the process always needs the save memory bundles that way the process running in the save memory . After that so many issues are not faced the processes , kernels also operating system.
So, this is very important for the whole system to running in the execution of the processes in the operating system and this is play the main part like the bridge in the between kernels and the operating system .Every process needs some memory space. So, memory allocated given for its execution because if not given the memory space then the so many issues are occurred due to not given by the particular memory space.
The peripherals devices are connected in the system and used by the processors and the allocation is given by the operating system and it will completely manage by the processors in the system. When the peripherals devices are connected with the system then the operating system is easily manage and it is easy to use for every one in the system. So, that way the peripherals are connected in the system and processors used these all the peripherals because processors get the some rest when these peripherals used in the place of the processors in the operating system.
The devices are used in the operating system for many times because without the peripherals operating system is not complete I think . Therefore, peripherals are used in the system used for the processors in the system. . So, these thing are very important because the system getting the memory space and used the so many devices for this type of the system and it will control the whole system by the processes. That way this is the best way to manage the operating system and this play the very important role in the system of the operating system.
So, these are the main and very important functions of the kernel that is used for the some important purposes in the operating system and it will completely manage by the processes which play the very important role is the whole complete system of the operating system. The operating system is used for the so many things in the system of processes that is used for the so many things.
For more information about Operating Systems click here
Was this helpful?
0 / 0