How do modules improve monolithic and micro kernel approaches?

In an operating system different modules are involved and all these modules perform different tasks at different stages. Modules are the basic structure of an operating system.

The modules are designed for performing a specific task and these services are dynamically implemented by all the operating systems and a number of modules are involved.


The different modules that are involved in operating system are as follows −

  • Scheduling class.

  • File system.

  • Load system.

  • Execute system.

  • Stream class.

  • Device and bus system.

  • Miscellaneous system.

These are represented in diagram format below −

Modules improve Monolithic and Microkernel approach

The kernel modules are introduced to improve the experience of the user in such a way that with the use of a module we can add hardware to the device and with the help of the module using the driver’s kernel will be able to make a connection with the hardware added.

If the modules were not added or this approach was not possible then we need to build the monolithic kernel and add a new function directly into the kernel image.

Rather having a larger kernel this has a disadvantage of rebooting every time you need a new functionality.

So in this way, the concept of modules helps in improving both of the operating system design approaches.