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

H. Peter Anvin
2002-03-05T18:47:42Z

Jeff Dike wrote:

>
> Really? And you're unconcerned about the impact on the rest of the system
> of a UML grabbing (say) 128M of memory when it starts up? Especially if it
> may never use it?

>

It doesn't grab memory, it grabs backing store. The kernel will swap it
out as necessary.

>
> And I don't see anything wrong with starting a bunch of UMLs with a total
> maximum memory exceeding the available tmpfs as long as they don't all need
> all that memory at once. And, if they do, the patch I just posted will let
> them deal fairly sanely with the situation.

Bullshit. It means you have moved your system into an insane corner
case, and you would have been better off denying access in the first place.

-hpa