Re: Module Ideas: Persistence, PnP, and more...

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 5 Sep 1998 01:26:53 +0100 (BST)


> But putting all settings in one memory block, adding this block's address
> to struct module, changing all modules to conform, *AND* adding a syscall
> is (IMO) even messier.

The blocks are easy. Use another ELF section for it

__persistent int foo

> Another point: if we use a separate program than rmmod to read the
> settings, it may be able to access settings of compiled-in drivers using a
> ksyms-like interface.

That might be useful. Alternatively it might be a subtle hint we should
use sysctl() for all of it

> And the parameter name conventions, plus the extensions to parameter
> definition syntax, are what makes this scheme feasible.

With name data you can actually write a seperate X11 module configuration
tool

-
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/faq.html