172
submitted 3 days ago by Ladislawgrowlo@lemy.lol to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] LeFantome@programming.dev 12 points 2 days ago* (last edited 2 days ago)

Well, the kernel is not “just a program” in that it is not like the other programs on your system. If it was, you would “just” run it in your shell. The kernel cannot run this way of course because it is not a user mode program.

That said, if course the kernel is a program in the sense that it is a set of machine instructions that make the hardware do what you want.

And the kernel is designed to talk to hardware and other programs—to be the bridge between the two. It is not something an end-user interacts with directly.

[-] GlowHuddy@lemmy.world 4 points 2 days ago

Well, the kernel is not “just a program” in that it is not like the other programs on your system. If it was, you would “just” run it in your shell. The kernel cannot run this way of course because it is not a user mode program.

Actually...

[-] LeFantome@programming.dev 3 points 1 day ago* (last edited 1 day ago)

Point taken but….

UML requires:

1 - extensive support from the host kernel above and beyond what is required to execute for regular programs

2 - the guest kernel to be specially compiled to be a UML guest

In other words, even though UML allows a guest Linux kernel to execute as a process on a host Linux kernel, that Linux kernel is not “just a program” like every other user mode application is.

this post was submitted on 26 Dec 2025
172 points (98.3% liked)

Linux

57274 readers
876 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS