qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH V2] xen-mapcache: Fix rlimit set size.


From: Stefano Stabellini
Subject: Re: [Qemu-devel] [PATCH V2] xen-mapcache: Fix rlimit set size.
Date: Fri, 12 Aug 2011 21:23:57 +0100
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

On Thu, 4 Aug 2011, Anthony PERARD wrote:
> Previously, the address space soft limit was set mcache_max_size. So,
> before the mcache_max_size was reached by the mapcache, QEMU was killed
> for overuse of the virtual address space.
> 
> This patch fix that by setting the soft limit the maximum than can have
> QEMU. So the soft and hard limit are always set to RLIM_INFINITY if QEMU
> is privileged.
> 
> In case QEMU is not run as root and the limit is too low, the maximum
> mapcache size will be set the rlim_max - 80MB because observed that QEMU
> use 75MB more than the maximum mapcache size after several empirical
> tests.
> 
> Signed-off-by: Anthony PERARD <address@hidden>

it looks good



reply via email to

[Prev in Thread] Current Thread [Next in Thread]