Re: [PATCH 03/18] mm: make vm_munmap killable

From: Vlastimil Babka
Date: Fri Mar 11 2016 - 05:06:53 EST


On 02/29/2016 02:26 PM, Michal Hocko wrote:
From: Michal Hocko <mhocko@xxxxxxxx>

Almost all current users of vm_munmap are ignoring the return value
and so they do not handle potential error. This means that some VMAs

1 7834 arch/x86/kvm/x86.c <<__x86_set_memory_region>>

r = vm_munmap(old.userspace_addr, old.npages * PAGE_SIZE);
WARN_ON(r < 0);

This warning will potentially add noise to OOM output?