Linked by Amjith Ramanujam on Tue 22nd Jul 2008 15:55 UTC, submitted by LinucksGirl
Linux Linux loadable kernel modules are on of the most important innovations in the Linux kernel. They provide a kernel that is both scalable and dynamic. Discover loadable kernels, the ideas behind them, and learn how these independent objects dynamically become part of the Linux kernel.
Thread beginning with comment 324076
To read all comments associated with this story, please click here.
"Innovations"?
by danieldk on Tue 22nd Jul 2008 16:15 UTC
danieldk
Member since:
2005-11-18

Didn't System V R4.2 introduce loadable kernel modules two or three years before Linux (~1992)?

RE: "Innovations"?
by mmu_man on Tue 22nd Jul 2008 16:53 in reply to ""Innovations"?"
mmu_man Member since:
2006-09-30

Well even AmigaOS could load kernel modules of some sort ;)
BeOS, AFAICR, had kernel modules as well, but in a much cleaner fashion than what linux does.

> how these independent objects dynamically become part of the Linux kernel.
And participate in the global mess...

Linux finally got hierarchically organized modules (BeOS had those 10 years ago), but they still explicitely link to each other making it a pain to have them loaded in correct order, and insmod is still required, even if it's hidden by udev.
In BeOS (and Haiku) modules only link to the kernel, and access other modules via a clean API where they ask which module the need and get given a list of functions then can call.
This makes the whole much cleaner and stable than the driver framework in linux, or rather the absence thereof.

Reply Parent Bookmark Score: 4

RE[2]: "Innovations"?
by Vanders on Tue 22nd Jul 2008 19:00 in reply to "RE: "Innovations"?"
Vanders Member since:
2005-07-06

These days Linux is actually unusual in not having some sort of proper driver API and stable ABI. They have their reasons, even if you don't agree with them.

Reply Parent Bookmark Score: 7

RE: "Innovations"?
by asgard on Tue 22nd Jul 2008 17:06 in reply to ""Innovations"?"
asgard Member since:
2008-06-07

I think they mean innovations in the sense restricted to Linux only, not as innovations in general.

Reply Parent Bookmark Score: 2

RE: "Innovations"?
by rob_mx on Wed 23rd Jul 2008 14:42 in reply to ""Innovations"?"
rob_mx Member since:
2005-08-04

From the article linked:


Linux is not the only monolithic kernel that can be dynamically altered (and it wasn't the first). You'll find loadable module support in Berkeley Software Distribution (BSD) variants, Sun Solaris, in older kernels such as OpenVMS, and other popular operating systems such as Microsoft® Windows® and Apple Mac OS X.


So yes, you're right, it wasn't the first one. ;)

Reply Parent Bookmark Score: 1