aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDouglas Anderson <dianders@chromium.org>2017-03-30 16:43:24 -0700
committerMoyster <oysterized@gmail.com>2018-12-01 22:08:45 +0100
commit02cf60c4811080078829bcf8574de547eaad3b79 (patch)
treef70aa75b21c288984e4feb905675f6d8cc3eb3f8 /include
parent2bdd9a2042a0e12d96c545773d9d8038c920f813 (diff)
CHROMIUM: DROP: mm/oom_kill: Avoid deadlock; allow multiple victims
DROP THIS PATCH ON REBASE. It is part of a patch series that attempts to solve similar problems to the OOM reaper upstream. NOTE that the OOM reaper patches weren't backported because mm patches in general are fairly intertwined and picking the OOM reaper without an mm expert and lots of careful testing could cause new mysterious problems. Compared to the OOM reaper, this patch series: + Is simpler to reason about. + Is not very intertwined to the rest of the system. + Can be fairly easily reasoned about to see that it should do no harm, even if it doesn't fix every problem. - Can more easily get into the state where all memory reserves are gone, since it allows more than one task to be in "MEMDIE". - Doesn't free memory as quickly. The reaper kills anonymous / swapped memory even before the doomed task exits. - Contains the magic "100 ms" heuristic, which is non-ideal.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions