Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RFT mm/oomkill: Don't skip the reaper
If we find a task that has already been selected for reaping, consider that it may still free some memory. Currently, we skip such tasks believing that we've already extracted as memory free pages as possible from before hitting a livelock. In practice, at least on single user systems deliberating exercising oom, such processes have only begun to recover their pages and are still the worst hogs on the system. If we skip them, we just select yet more victims, and with sufficient enthusiasm may end up with all available processes marked for reaping, panicking in the process. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Michał Winiarski <michal.winiarski@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180529095528.30302-1-chris@chris-wilson.co.uk
- Loading branch information