Re: about modularization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* T. J. Brumfield <[email protected]> wrote:

> On 8/3/07, Ingo Molnar <[email protected]> wrote:
> > snip...
>
> Except that a working prototype of plugsched exists and functions 
> exactly as advertised. [...]

a prototype for dynamic syscalls exists too. A prototype for pluggable 
network IPv4 stacks exists too. A working implementation existed for 
STREAMS too. Existence of a patch still does not make any of them a good 
idea for the core kernel.

[ If existence of a patch was the only criterium for upstream merging 
  then we'd have a much poorer quality Linux kernel today. Odds are that 
  in that case you would not even know what 'Linux' means, it would 
  still be an obscure, niche hacker's toy somewhere on the 'net ;-) ]

> [...]  I understand that modules can be loaded and unloaded, where as 
> other aspects of the core kernel can't just load/unload as the kernel 
> is running, but the cpu scheduler could be selected at boot via a 
> command line, or as a kconfig option when compiling like the io 
> scheduler.

i replied to that in my previous mail:

   But the kernel core, which does not depend as much on the physical
   properties of the stuff it supports (it depends on the physics of the
   machine of course, but those rules are mostly shared between all
   machines of that architecture), and is fundamentally influenced by
   the syscall API (which is not modular either) and by our OS design
   decisions, has much less reason to be modularized.

But to put it in different words:

   _certain core kernel code should not be pluggable_

and whether it should or should not be pluggable is an entirely 
technical decision, up to the maintainers of that code.

> And while the io team may feel that it would be best to have one 
> scheduler that worked well under all circumstances, often this can't 
> simply be the case. [...]

you skipped the bit where i pointed it out how different CPU scheduling 
is from IO scheduling. Plus now you are arguing against the opinion of 
an IO maintainer too? :-)

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux