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 : be...@petrovitsch.priv.at LUGA : http://www.luga.at _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox