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

From: Rusty Russell
Date: Wed Oct 06 2010 - 05:06:00 EST


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.

Thanks,
Rusty.
--
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/