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

Pavel Machek
2002-03-07T10:20:56Z

Hi!

> > You say 'at once'. Does UML somehow give pages back to the host when they're
> > freed, so the pages that are no longer used by UML can be discarded by the
> > host instead of getting swapped?
>
> Doesn't seem to but it looks like madvise might be enough to make that
> happen. That BTW is an issue for more than UML - it has a bearing on
> running lots of Linux instances on any supervisor/virtualising system
> like S/390

I just imagined hardware which supports freeing memory -- just do not
refresh it any more to conserve power ;-))).

Granted, it would probably only make sense in big chunks, like 2MB or
so... It might make sense for a PDA...
Pavel

--
(about SSSCA) "I don't say this lightly. However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa