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

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

 



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?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]