[lkml]   [1997]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Jettisoning initialization code...
> There was some talk not too long ago about freeing up memory used by
> functions and data that are only referenced during initialization by
> grouping them together into their own ELF section that could be
> discarded after setup was complete. I was looking at the Sparc stuff in
> 2.1.23 to see how this was done.
> I probably missed it, but where in the code do the text.init and
> data.init sections get released?

grep free_initmem arch/{sparc,i386}/kernel/*.c

The SPARC stuff depends on a script to ld to setup some of the symbols
that point to the start and end of the init sections. See
arch/sparc/ for more information.


 \ /
  Last update: 2005-03-22 13:38    [W:0.014 / U:1.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site