Re: [RFC] Arch option to touch newly allocated pages

From: Wayne Whitney (whitney@math.berkeley.edu)
Date: Tue Mar 05 2002 - 11:56:24 EST


H. Peter Avin wrote:

> Jeff Dike wrote:
>
> > You think that UML refusing to run if it can't get every bit of memory it
> > might ever need is preferable to UML running fine in somewhat less memory?
>
> Actually, yes, esp. since the only case you have been able to bring up is
> one of the sysadmin being a moron.

I could easily imagine it being useful to run multiple UMLs on one
machine (to simulate a network, say), and that one's application
causes each UML to occasionally spike in its memory requirements.
Then it would be disappointing for the number of UMLs one could run to
be determined by this maximum memory requirement, rather than by the
average memory requirement (minus some leeway for a few spiking UMLs).

The hook Jeff asks for seems harmless enough. If there is some
disagreement about how UML interacts with the host kernel on memory
allocation, the two different modes could be a configuration option of
UML. The "touch it all at startup" option could be the default, as it
does make alot of sense for the single UML case.

Cheers,
Wayne
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:44 EST