Re: [PATCH] VMware Balloon driver

From: Avi Kivity
Date: Tue Apr 06 2010 - 13:03:59 EST


On 04/06/2010 02:34 AM, Andrew Morton wrote:
On Mon, 05 Apr 2010 16:28:38 -0700
Jeremy Fitzhardinge<jeremy@xxxxxxxx> wrote:

And is there some way to get the vm subsystem to provide backpressure:
"I'm getting desperately short of memory!"?
Not really. One could presumably pull dopey tricks by hooking into
slab shrinker registration or even ->writepage(). But cooking up
something explicit doesn't sound too hard - the trickiest bit would be
actually defining what it should do.

The oft-suggested approach is to look at the I/O load from guests and give more memory to those that are thrashing. Of course not all I/O is directly due to memory pressure.

--
error compiling committee.c: too many arguments to function

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