Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm, oom: avoid reaping only for mm's with blockable invalidate callbacks
This uses the new annotation to determine if an mm has mmu notifiers with blockable invalidate range callbacks to avoid oom reaping. Otherwise, the callbacks are used around unmap_page_range(). Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: David Rientjes <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: Christian König <[email protected]> Cc: Dimitri Sivanich <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Oded Gabbay <[email protected]> Cc: Alex Deucher <[email protected]> Cc: David Airlie <[email protected]> Cc: Joerg Roedel <[email protected]> Cc: Doug Ledford <[email protected]> Cc: Jani Nikula <[email protected]> Cc: Mike Marciniszyn <[email protected]> Cc: Sean Hefty <[email protected]> Cc: Boris Ostrovsky <[email protected]> Cc: Jérôme Glisse <[email protected]> Cc: Radim Krčmář <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information