Nepedia
Back to Discover
Fluent Reader
💻

Kernel (operating system)

technology Maturity 11-13 Next article →

A kernel is the most important program in a computer's operating system.

Kernel Layout
Kernel Layout

It acts as the core that stays in the computer's memory at all times. This program has complete control over every part of the system. It is responsible for managing the hardware and the software. The kernel also stops different programs from fighting over the same resources. Without a kernel, the computer would not know how to function. It serves as the bridge between your apps and the physical machine.

To keep everything running smoothly, the kernel follows a specific way of working. It manages hardware like the hard disk and the central processing unit.

kernel-simple
kernel-simple

When a program needs to use a tool, it must make a system call. This is a formal request for a service that the program cannot do alone. The kernel then uses device drivers to talk to the hardware. A device driver is a special program that translates commands for things like printers or mice. This step-by-step process ensures that every request is handled correctly.

There are different ways to design how a kernel is built. Some are called monolithic kernels, which run all services in one single space to gain speed.

Kernel-microkernel
Kernel-microkernel

Other designs are known as microkernels, which run most services in a separate area to stay stable and resilient. A famous example of a microkernel design is called MINIX 3. Some systems, like the Linux kernel, are actually both monolithic and modular. This means they can add or remove parts while the computer is still running.

Kernel-hybrid
Kernel-hybrid

This flexibility helps different types of computers work well.

Memory management is one of the most vital jobs the kernel performs. It uses a method called virtual addressing to keep programs safe.

Unix history-simple
Unix history-simple

This technique makes each program feel like it is the only one running on the computer. It also creates two separate areas of memory. One area is called kernel space, which is protected from outside access. The other area is called user space, where your apps like web browsers live. This separation prevents a broken app from crashing the entire operating system.

Think of the kernel as a busy manager in a large office. The apps are the workers who need tools like paper or pens to do their jobs. The workers cannot just grab anything they want; they must ask the manager first. The manager then checks if the tools are available and hands them out. This is very similar to how a kernel manages the computer's RAM and processors. By acting as the middleman, the kernel keeps the whole office organized and productive.

437 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (5)
File:Kernel Layout.svg
Kernel Layout.svg
File:kernel-simple.svg
kernel-simple.svg
File:Kernel-microkernel.svg
Kernel-microkernel.svg
File:Kernel-hybrid.svg
Kernel-hybrid.svg
File:Unix history-simple.svg
Unix history-simple.svg
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.