Re: bogous binfmt_misc patch in 2.2.0-pre1

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 1 Jan 1999 23:58:04 +0000 (GMT)


> yep there are only 40 #if SMP dependencies in the 'main' kernel C files,
> and 270 #if PROC_FS dependencies ... thats nonsense.

And counting down.... fast. A lot of /proc is fairly easy to kill and doesnt
increase code size - some of it though adds several K a driver and I've
left them - it still boots too 8)

> (the worst #ifdef offender btw. is MODULES, but those are mostly clean and
> isolated. Could be solved with a section trick though ...)

One thing Donald and others have talked about repeatedly is making driver
initialization for stuff like PCI be done by tables in sections and some
smart set up code. So the boot code doesnt call init this and init that it
does

init_pci_class(CLASS_NETWORK);

etc, and looks over a table built at boot time.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/