Re: initdata for modules?

2000-11-26 Thread Jakub Jelinek
On Mon, Nov 27, 2000 at 09:54:57AM +1100, Keith Owens wrote: > On Sun, 26 Nov 2000 07:30:44 -0800, > "Adam J. Richter" <[EMAIL PROTECTED]> wrote: > > In reading include/linux/init.h, I was surprised to discover > >that __init{,data} expands to nothing when compiling a module. > >I was wonderi

Re: initdata for modules?

2000-11-26 Thread Jeff V. Merkey
On Mon, Nov 27, 2000 at 01:06:04PM +1100, Keith Owens wrote: > On Sun, 26 Nov 2000 19:49:43 -0700, > "Jeff V. Merkey" <[EMAIL PROTECTED]> wrote: > >Microsoft drivers have an .INIT code section that is initialization > >ccode that get's chunked after it's loaded. Their model allows > >memory se

Re: initdata for modules?

2000-11-26 Thread Keith Owens
On Sun, 26 Nov 2000 19:49:43 -0700, "Jeff V. Merkey" <[EMAIL PROTECTED]> wrote: >Microsoft drivers have an .INIT code section that is initialization >ccode that get's chunked after it's loaded. Their model allows >memory segments to be defined as DISCARDABLE, which tells the loader >to chunk t

Re: initdata for modules?

2000-11-26 Thread Jeff V. Merkey
On Sun, Nov 26, 2000 at 03:47:30PM -0800, Adam J. Richter wrote: > Keith Owens <[EMAIL PROTECTED]> wrote: > >"Adam J. Richter" <[EMAIL PROTECTED]> wrote: > >>In reading include/linux/init.h, I was surprised to discover > >>that __init{,data} expands to nothing when compiling a module. > >>I wa

Re: initdata for modules?

2000-11-26 Thread Jeff V. Merkey
On Mon, Nov 27, 2000 at 10:45:34AM +1100, Keith Owens wrote: > On Sun, 26 Nov 2000 17:01:35 -0700, > "Jeff V. Merkey" <[EMAIL PROTECTED]> wrote: > >insmod ppp_deflate (should trigger load of all these modules). I > >know it's works this way if there's a modules.dep file laying > >around, but i

Re: initdata for modules?

2000-11-26 Thread Adam J. Richter
Keith Owens <[EMAIL PROTECTED]> wrote: >"Adam J. Richter" <[EMAIL PROTECTED]> wrote: >> In reading include/linux/init.h, I was surprised to discover >>that __init{,data} expands to nothing when compiling a module. >>I was wondering if anyone is contemplating adding support for >>__init{,data}

Re: initdata for modules?

2000-11-26 Thread Keith Owens
On Sun, 26 Nov 2000 17:01:35 -0700, "Jeff V. Merkey" <[EMAIL PROTECTED]> wrote: >insmod ppp_deflate (should trigger load of all these modules). I >know it's works this way if there's a modules.dep file laying >around, but it would be nice for it to work this way without >needing the external

Re: initdata for modules?

2000-11-26 Thread Jeff V. Merkey
On Mon, Nov 27, 2000 at 09:54:57AM +1100, Keith Owens wrote: > On Sun, 26 Nov 2000 07:30:44 -0800, > "Adam J. Richter" <[EMAIL PROTECTED]> wrote: > > In reading include/linux/init.h, I was surprised to discover > >that __init{,data} expands to nothing when compiling a module. > >I was wonderi

Re: initdata for modules?

2000-11-26 Thread Keith Owens
On Sun, 26 Nov 2000 07:30:44 -0800, "Adam J. Richter" <[EMAIL PROTECTED]> wrote: > In reading include/linux/init.h, I was surprised to discover >that __init{,data} expands to nothing when compiling a module. >I was wondering if anyone is contemplating adding support for >__init{,data} in mo

initdata for modules?

2000-11-26 Thread Adam J. Richter
In reading include/linux/init.h, I was surprised to discover that __init{,data} expands to nothing when compiling a module. I was wondering if anyone is contemplating adding support for __init{,data} in module loading, to reduce the memory footprints of modules after they have been loaded.