[Ilugc] Kernel Compilation: Modules vs Built-In

  • From: andyetitmoves@xxxxxxxxx (Ramkumar R)
  • Date: Mon Jan 17 21:09:52 2005

well, I guess there is a communication problem...I'll stop here...


On Mon, 17 Jan 2005 16:17:05 +0530, Animesh Singh <animeshs@xxxxxxxxx> wrote:

Afternoon Ramkumar,

I never denied that (I guess you meant linux has _a_ few features of a
microkernel, the meaning isn't quite the same otherwise :)....My point
is that this run-time modularity is needed much for distros - as a
<snip>
We talked about linux kernel ( not distro), which is from one palce.
Though in few case like RH backported.
single user, you know most of your requirements beforehand, and hence
can use the performance compile time selection offers.
<snip>
Does not make any sense. ( single user ? )

Seems you are note very clear with ( whether all the modules can
compile or not with kernel ), but defenitely, compiling all the module
in kernel will make the kernel faster, and also, it will effect the
size of the kernel and also it requires more amount of resources.


NO...your argument is valid only when you don't use all the modules -
as is the case with a distro...if that's not the case, it is the other
way round, though only by a small measure.
<snip>
Well, a bit of performance in kernel, counts a lot.
Also, I prefer compiling modules you know will be used always, not
*all* modules...
<snip>
That's your idea. I haev put the points in general and applicable to all.

Let me point out very significat point here. Linux does not require
reiserfs/ext3/ext2 to bootup. It explodes the kernel into ram and then
depending on whether fs is modular or inbuilt in kernel, get loaded
and root file system get mounted on that and the reason you can see
that fs loaded as module and / mounted on same fs. Actually this is
break through for Linux Kernel, which was implemented for almost all
the devices.


Well, again I never said that you can't do it...I know about initrd
and its benefits...
I quote myself -

amt though...) - come on, there is no point in having a reiserfs
module with reiserfs on your hard disk. it is anyway needed right from
bootup to shutdown
<snip>
This is what is totally wrong.
What is reiserfs module ? and what is reiserfs on disk ? Does this
mean two things.
I would stongly recommened you to read the internals of Linux Booting.

What I have to say is that. Linux when boots up, it does not require
reiserfs. and to support my point technically I gave you an
explanation that, "lsmod might list your filesystem as loadable
module. ( reiserfs can be one of the module. ) But the question is how
can reiserfs can be loaded as module when root fs is using same.

My dear friend, answer to this is what I gave you. Linux does nto
require reiserfs to bootup,  'cause while booting it uses ram to
explode the kernel and later on ( once the reiserfs filesystem gets
loaded ( it can be modular/ built in module ) ), root fs gets
remounted on same.

Regards,
Animesh.



-- 
If you want to travel around the world and be invited to speak at a lot
of different places, _just_ write a Unix operating system.
                                                       - Linus Torvalds

Other related posts: