|
|
Subscribe / Log in / New account

Linux microkernel?

Linux microkernel?

Posted Aug 30, 2022 0:45 UTC (Tue) by dvdeug (guest, #10998)
In reply to: Linux microkernel? by storner
Parent article: Crash recovery for user-space block drivers

The core is still clearly monolithic. It's very convenient to run things in userspace, and many things can be run perfectly well in userspace; I suspect the difference between reading a filesystem on CD in userspace versus kernel space is nonexistent timewise and usually unnoticable added pressure to the CPU and memory system. Like many modern systems, there's enough power to let people do things the easy, flexible way or the maximally efficient way if they need that.


to post comments

Linux microkernel?

Posted Aug 30, 2022 5:50 UTC (Tue) by zev (subscriber, #88455) [Link] (1 responses)

there's enough power to let people do things the easy, flexible way or the maximally efficient way if they need that.
Agreed -- I think the general trend is clearly toward increasing flexibility and having the option (for a growing set of things) of either an in-kernel implementation or a userspace one. Though for whatever reason, it seems like whenever a new userspace option pops up the "will Linux become a microkernel?" comments inevitably appear, whereas I can't recall ever seeing the inverse when Linux grows things like (to pick some recent examples) in-kernel TLS support or KSMBD.

Linux microkernel?

Posted Aug 30, 2022 10:09 UTC (Tue) by Wol (subscriber, #4433) [Link]

Anyways, micro-kernel DESIGN brings a lot of advantages. It reduces coupling making maintenance easier for example.

But monolithic IMPLEMENTATION brings a lot of advantages too, not least speed.

That's why Linux has always been a modular system.

Whatever floats your boat, and if pushing stuff into user space brings advantages (which it clearly does in many cases, not least security), go for it!

Cheers,
Wol


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds