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

From: H. Peter Anvin (hpa@zytor.com)
Date: Tue Mar 05 2002 - 13:46:22 EST


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

-
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:45 EST