On Thu, Mar 20, 2014 at 8:15 PM, Mike Dean <[email protected]> wrote:
> The key word is, "can," as in your statement, "can be read back in again."
> If it's designed to only ever be loaded the first time it's executed after
> boot, then there will be no reason to load it back in again when executed
> after that first time.

The above statement means that you have some incorrect ideas how
Linux virtual memory works.

> If there's no need for the code, it won't be read back in again.

That's how it works already, and was working this way for decades.
Pages in file-backed mappings are loaded on access, not when mapping
is created. Later, if a loaded unmodified page is dropped due
to memory pressure, it will be reloaded only if/when accessed again.
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to