Re: [RFC] Maintaining persistent kernel data across module unload/reload

Keith Owens (kaos@ocs.com.au)
Thu, 13 Jan 2000 10:20:31 +1100


On Wed, 12 Jan 2000 13:24:57 +0100,
Harald Koenig <koenig@tat.physik.uni-tuebingen.de> wrote:
>On Jan 12, Keith Owens wrote:
>> (2) For every module that needs persistent data and is configured in,
>> compile some module specific variables into the static kernel and
>> export them.
>(2a) For every module that needs persistent data and is configured in,
>compile a 2nd module which will only keep those specific variables.
>no need to compile them into the static kernel...

Expensive, every loaded module takes at least a page of unswappable
kernel space. It also requires splitting source files, changing
Makefiles and exporting extra variables.

-
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/