LinuxQuestions.org
Visit Jeremy's Blog.
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, 09:18 PM   #1
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 203

Rep: Reputation: 26
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, 09:29 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,683
Blog Entries: 12

Rep: Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903
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, 01:05 PM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,654

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
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, 01:07 PM   #4
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 203

Original Poster
Rep: Reputation: 26
Thanks guys!
 
Old 07-02-2013, 09:17 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,683
Blog Entries: 12

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:28 AM
file type for the Linux kernel image file, (vmlinuz) is unknown james2b Linux - Software 6 11-12-2009 03:39 PM
LXer: Create a New Key Type Using Linux Kernel LXer Syndicated Linux News 0 04-25-2007 11:01 AM
"array type has incomplete element type" compiling 2.4.32 kernel Akabaka Linux - General 1 01-08-2006 01:48 PM


All times are GMT -5. The time now is 07:03 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration