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

From: Keith Owens (kaos@ocs.com.au)
Date: Wed Jan 12 2000 - 18:20:31 EST


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/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:21 EST