CHROMIUM: oom: do not select new victim if current one is runnable
If currently selected victim is runnable, let's let it run instead of selecting yet another victim. Only if victim process is blocked for extended period of time we should move to the next unfortunate process. BUG=chromium:727707 TEST=Build and boot Caroline, try to load it to start ooming Change-Id: Idfbe3b5588c0a54527a02485801215547870dca7 Signed-off-by:Dmitry Torokhov <dtor@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/522955 Reviewed-by:
Douglas Anderson <dianders@chromium.org> (cherry picked from commit 93aa981c5e2485699c5e6fd4d9dc3489755635a2) Reviewed-on: https://chromium-review.googlesource.com/527465 Commit-Ready: Douglas Anderson <dianders@chromium.org> Tested-by:
Douglas Anderson <dianders@chromium.org> [@neobuddy89: Adapted to msm-3.10]
Loading
Please register or sign in to comment