LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2013, 08:18 PM   #1
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 205

Rep: Reputation: 27
Arrow Linux kernel type


Hi,
I believe I should have this figured out by now, but I don't .
I've read that the current Linux kernel (or maybe right from the start, can you please confirm?) is a monolithic one.
On the other hand, I've heard people say that the kernel is actually a modular one - I believe this opinion is based on the fact that it is composed of multiple modules that can be loaded / unloaded as needed.
I admit that my knowledge of computer architecture is somewhat limited, and maybe my English skills don't help to explain the little I know about the subject - so I would appreciate if any of you can say a few words about the topic, meaning what type of kernel does Linux have? and why?
Thanks in advance!
 
Old 07-01-2013, 08:29 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
To the best of my understanding, it's modular, in that there is a certain fundamenatal monolithic core and then additional modules you can load as needed.

The interactive kernel map might help.
 
2 members found this post helpful.
Old 07-02-2013, 12:05 PM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
The linux kernel is considered a monolithic kernel due to the entire kernel (including all modules) use the same memory map.

It DOES have some parts that don't fit that definition. FUSE (file system in user space) allows for entire subsystems to exist external to the kernel. Also, there are some device drivers that are external. These interface with the kernel which passes on their need to the physical device either may providing a memory map to it or essentially peeking/poking values into the device registers. The problem with these is that you/the developers loose speed due to the need to make multiple context switches (and multiple data copies)to accomplish anything (the same problem with microkernel systems where the processor isn't designed for microkernel use).
 
2 members found this post helpful.
Old 07-02-2013, 12:07 PM   #4
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 205

Original Poster
Rep: Reputation: 27
Thanks guys!
 
Old 07-02-2013, 08:17 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Quote:
The linux kernel is considered a monolithic kernel due to the entire kernel (including all modules) use the same memory map.
Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the type of Linux kernel? beparas Linux - Newbie 2 06-05-2012 04:28 AM
file type for the Linux kernel image file, (vmlinuz) is unknown james2b Linux - Software 6 11-12-2009 02:39 PM
LXer: Create a New Key Type Using Linux Kernel LXer Syndicated Linux News 0 04-25-2007 10:01 AM
"array type has incomplete element type" compiling 2.4.32 kernel Akabaka Linux - General 1 01-08-2006 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration