I agree completely. I was just trying to show a simple example.
Mike Dean On Fri, Mar 21, 2014 at 11:37 AM, Bernd Petrovitsch < [email protected]> wrote: > On Fre, 2014-03-21 at 10:50 -0500, Mike Dean wrote: > [....] > > pseudo-code: > > A real patch would have been a step in the right direction. > > BTW the Linux kernel achieves that feature by annotating > init-only-functions (and their data) explicitly so that these can end up > in separate segments (which are freed eventually). > > Adding an additional shared lib costs elsewhere and the added code to > load it at run-time explicitly too. > The Linux kernel's way seems more usefull: Mark init-only functions as > such, add linker magic so that that ends up in a separate segment (and > thus separate pages which can be evicted on their own) ans it should > work with any additional dlopen() .... > > Bernd > -- > Bernd Petrovitsch Email : [email protected] > LUGA : http://www.luga.at > >
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
