staging: android: lowmemorykiller: Don't count reserved free memory
authorArve Hjønnevåg <arve@android.com>
Wed, 27 Feb 2013 06:07:35 +0000 (22:07 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Mar 2013 08:37:45 +0000 (16:37 +0800)
commiteeb0f4f35fc1a4c0a5e30ec73e8e61916afa0399
tree4a1a3ac5ae1923754e82192490e36a330c62868e
parente5834d620d61d01444c41958f1816d688a96433c
staging: android: lowmemorykiller: Don't count reserved free memory

The amount of reserved memory varies between devices. Subtract it
here to reduce the amount of devices specific tuning needed for the
minfree values.

Cc: Android Kernel Team <kernel-team@android.com>
Cc: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/lowmemorykiller.c