linux-kernel-test/drivers/staging/android
Arve Hjønnevåg f501d00144 Staging: android: lowmemorykiller: Only iterate over process list when needed.
Use NR_ACTIVE plus NR_INACTIVE as a size estimate for our fake cache
instead the sum of rss. Neither method is accurate.

Also skip the process scan, if the amount of memory available is above
the largest threshold set.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
Cc: David Rientjes <rientjes@google.com>
Cc: San Mehat <san@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-06-19 11:00:52 -07:00
..
binder.c Staging: binder: Defer flush and release operations to avoid deadlocks. 2009-04-17 11:06:27 -07:00
binder.h
Kconfig Staging: android: ram_console: Disable ECC when early init is enabled and validate buffer size 2009-02-09 11:26:18 -08:00
logger.c Staging: android: add logging driver 2009-01-06 13:52:42 -08:00
logger.h Staging: android: add logging driver 2009-01-06 13:52:42 -08:00
lowmemorykiller.c Staging: android: lowmemorykiller: Only iterate over process list when needed. 2009-06-19 11:00:52 -07:00
lowmemorykiller.txt Staging: android: Add lowmemorykiller documentation. 2009-01-28 15:49:05 -08:00
Makefile Staging: android: add lowmemorykiller driver 2009-01-06 13:52:45 -08:00
ram_console.c Staging: Android: fix more printk formats 2009-04-03 14:53:30 -07:00
timed_gpio.c Staging: android: fix up units in timed_gpio 2009-02-09 11:26:18 -08:00
timed_gpio.h Staging: android: timed_gpio: Rename android_timed_gpio to timed_gpio 2009-01-06 13:52:43 -08:00
TODO Staging: android: remove dummy android.c driver 2009-01-06 13:52:44 -08:00