Re: [PATCH] kvm: add oom notifier for virtio balloon

From: Dave Young
Date: Wed Oct 06 2010 - 09:50:32 EST


On Wed, Oct 6, 2010 at 5:05 PM, Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:
> On Tue, 5 Oct 2010 11:15:21 pm Dave Young wrote:
>> Balloon could cause guest memory oom killing and panic.
>>
>> Add oom notify to leak some memory and retry fill balloon after 5 minutes.
>
> Have you tried registering a shrinker? ÂSee mm.h.

Hi, thanks. I didn't know shrinker can shrink mem beyond slab. Will try

>
> Thanks,
> Rusty.
>



--
Regards
dave
--
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/