diff options
author | San Mehat <san@google.com> | 2010-05-06 15:43:46 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2012-02-14 11:30:25 -0800 |
commit | 730c51b8da40df4d6b27faea011849107eddb765 (patch) | |
tree | f7cb98f484cdbf0bb45a43211eb1fce76e6c80c0 /drivers | |
parent | af0240f095a704f75f032bbcc01f670c65c163ba (diff) |
staging: android: lowmemorykiller: Remove bitrotted codepath
Now that we're murder-synchronous, this code path will never be
called (and if it does, it doesn't tell us anything useful other
than we killed a task that was already being killed by somebody
else but hadn't gotten its' signal yet)
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/android/lowmemorykiller.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android/lowmemorykiller.c index cae9212d909..cd4d3fdb2e7 100644 --- a/drivers/staging/android/lowmemorykiller.c +++ b/drivers/staging/android/lowmemorykiller.c @@ -165,12 +165,6 @@ static int lowmem_shrink(struct shrinker *s, struct shrink_control *sc) p->pid, p->comm, oom_adj, tasksize); } if (selected) { - if (fatal_signal_pending(selected)) { - pr_warning("process %d is suffering a slow death\n", - selected->pid); - read_unlock(&tasklist_lock); - return rem; - } lowmem_print(1, "send sigkill to %d (%s), adj %d, size %d\n", selected->pid, selected->comm, selected_oom_adj, selected_tasksize); |