Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c7d13d70 authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Dyneteve
Browse files

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: default avatarDmitry Torokhov <dtor@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/522955


Reviewed-by: default avatarDouglas 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: default avatarDouglas Anderson <dianders@chromium.org>
[@neobuddy89: Adapted to msm-3.10]
parent e8a09817
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment