answersLogoWhite

0


Best Answer

The modular kernel approach requires subsystems to interact with each other through carefully constructed interfaces that are typically narrow (in terms of the functionality that is exposed to external modules). The layered kernel approach is similar in that respect. However, the layered kernel imposes a strict ordering of subsystems such that subsystems at the lower layers are not allowed to invoke operations corresponding to the upper layer subsystems. There are no such restrictions in the modular kernel approach, wherein modules are free to invoke each other without any constraints.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: In what ways is the modular kernel approach similar to the layered approach?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Performing Arts

What are the differences between various operating systems?

difference between layered and kernel base approach in OS structure


Give an example of modular monolithic kernel?

Modular monolithic kernel example is Linux.don't need to confuse on monolithic and modular kernel. if we need to divide a single module of kernel in separate module to make handle easy we can do at the configure time of kernel but these kernel module having only in kernel space.Monolithic Kernel- single binary file- all drivers include in kernel itself.Modular kernel- Multiple files for kernel- Drivers can be loaded or unloaded into kernel using modprob command, see man page of lsmod, modprob etc when- Almost all drivers are build and linked against kernelactual mean of modular kernel in linux :some part of the system core will be located in independent files called modules that can be added to the system at run time. Depending on the content of those modules as1. only loading drivers if a device is actually found2. only load a filesystem if it gets actually requested3. only load the code for a specific (scheduling/security/whatever) policy when it should be evaluatedThose modules are still running in the kernel space and not in user space, so the kernel architecture is still monolithic.


What is the main advantage of the micro kernel approach to system design?

Simplicity. The micro-kernel approach to system design keeps the kernel as small and simple as possible. This means that it is easier to maintain, and will likely contain fewer flaws. However, functionality not implemented inside that kernel (like device drivers) will need to be provided in another way, usually by other programs.


Does a kernel contain external commands?

the kernel contains external commands true or false


When was the Linux 2.4 kernel released?

The 2.4 version of the Linux kernel was released in 2001.

Related questions

Difference between approaches modular kernel and layered approach?

The modular kernel approach requires subsystems to interact with each other through carefully constructed interfaces that are typically narrow (in terms of the functionality that is exposed to external modules). The layered kernel approach is similar in that respect. How- ever, the layered kernel imposes a strict ordering of subsystems such that subsystems at the lower layers are not allowed to invoke operations corresponding to the upper-layer subsystems. There are no such restrictions in the modular-kernel approach, wherein modules are free to invoke each other without any constraints.


What are the differences between various operating systems?

difference between layered and kernel base approach in OS structure


What is a layered structure?

In an operating system a layered structure is composed of a kernel, some servers, and some user level libraries. All of these put together are a layered structure.


Give an example of modular monolithic kernel?

Modular monolithic kernel example is Linux.don't need to confuse on monolithic and modular kernel. if we need to divide a single module of kernel in separate module to make handle easy we can do at the configure time of kernel but these kernel module having only in kernel space.Monolithic Kernel- single binary file- all drivers include in kernel itself.Modular kernel- Multiple files for kernel- Drivers can be loaded or unloaded into kernel using modprob command, see man page of lsmod, modprob etc when- Almost all drivers are build and linked against kernelactual mean of modular kernel in linux :some part of the system core will be located in independent files called modules that can be added to the system at run time. Depending on the content of those modules as1. only loading drivers if a device is actually found2. only load a filesystem if it gets actually requested3. only load the code for a specific (scheduling/security/whatever) policy when it should be evaluatedThose modules are still running in the kernel space and not in user space, so the kernel architecture is still monolithic.


What is the difference between a purely layered architecture and microkernel architecture?

Micro kernel's have more fun. Where layered models tend to have drinking problems


What is structure layer?

In an operating system a layered structure is composed of a kernel, some servers, and some user level libraries. All of these put together are a layered structure.


What is the difference between unixkernal and linuxkernal?

Linux kernel is an operating system that is distributed by open source software. It is based on Unix, but has some differences, some of which are in adding and removing features of the kernel, kernel threading, application support, and monolithic kernel approach.


What is the main advantage of the micro kernel approach to system design?

Simplicity. The micro-kernel approach to system design keeps the kernel as small and simple as possible. This means that it is easier to maintain, and will likely contain fewer flaws. However, functionality not implemented inside that kernel (like device drivers) will need to be provided in another way, usually by other programs.


How do you convert a C program into a Linux kernel module?

Quick Answer: You don't. Long Answer: It will need a fundamental change before you can have a module that does anything similar. Kernel modules don't have the same purpose as programs. Kernel Modules are meant for device support and similar things. More than likely you don't actually want to move the program to kernel space.


What is the defining component of Linux?

Linux strictly speaking is a kernel used in many different operating systems. The simple answer is "the linux kernel" but that's not entirely correct, depending on whether the question is about Linux the kernel, or the often misused label "linux" meant to refer to any one of several hundred operating systems that run over the linux kernel. In my opinion, the defining component, the dominant trait, of linux is the modular design of the kernel. It need only be as big and complex as required, making it very small and simple, or a monolithic giant that can do anything, or anywhere in between.


What do you mean by kernel?

The word kernel comes from an onion. Where the innermost part of the onion is called a kernel. Similar analogy is applied here. The innermost crucial part of an operating system is called as the kernel, while the shell(bash) is the part which covers the kernel so as to hide its complexities.


Where hardware ends and software starts?

The kernel is the core piece of software which runs the operating system. It is the lowest part of a layered operating system and closest to the hardware itself. The kernel is loaded by a process of bootloading or bootstrapping when you turn the computer on. Bootloading starts with simple programs semi hard coded in the ROM chips on the motherboard which then progress to load increasingly 'smarter' programs until the kernel loads which is the basis for your full operating system.