On Mon, May 10, 2010 at 12:09:56PM +0300, Avi Kivity wrote: > We drop the mmu lock between freeing memory and allocating the roots; this > allows some other vcpu to sneak in and allocate memory. > > While the race is benign (resulting only in temporary overallocation, not oom) > it is simple and easy to fix by moving the freeing close to the allocation. > > Signed-off-by: Avi Kivity <avi@xxxxxxxxxx> > --- > arch/x86/kvm/mmu.c | 5 ++--- > 1 files changed, 2 insertions(+), 3 deletions(-) Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html