Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 34006e11 authored by David Rientjes's avatar David Rientjes Committed by Greg Kroah-Hartman
Browse files

Staging: android: lowmemorykiller: cleanup android low memory killer


Clean up the code in lowmem_shrink() for the Android low memory killer so
that it follows the kernel coding style.

It's unnecessary to check for p->oomkilladj >= min_adj if the selected
task's oomkilladj score is stored since get_mm_rss() will always be
greater than zero.

Cc: San Mehat <san@android.com>
Cc: Arve Hjønnevåg <arve@android.com>
Signed-off-by: default avatarDavid Rientjes <rientjes@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 31d59a41
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment