linux/drivers/staging/android
Colin Cross cc635da2e2 staging: lowmemorykiller: Make default lowmemorykiller debug message useful
lowmemorykiller debug messages are inscrutable and mostly useful
for debugging the lowmemorykiller, not explaining why a process
was killed.  Make the messages more useful by prefixing them
with "lowmemorykiller: " and explaining in more readable terms
what was killed, who it was killed for, and why it was killed.

The messages now look like:
[   76.997631] lowmemorykiller: Killing 'droid.gallery3d' (2172), adj 1000,
[   76.997635]    to free 27436kB on behalf of 'kswapd0' (29) because
[   76.997638]    cache 122624kB is below limit 122880kB for oom_score_adj 1000
[   76.997641]    Free memory is -53356kB above reserved

A negative number for free memory above reserved means some of the
reserved memory has been used and is being regenerated by kswapd,
which is likely what called the shrinkers.

Cc: Android Kernel Team <kernel-team@android.com>
Cc: Greg KH <gregkh@linuxfoundation.org>
Signed-off-by: Colin Cross <ccross@android.com>
[jstultz: Minor checkpatch tweaks]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-07 17:34:58 -08:00
..
ion Staging patches for 4.5-rc1 2016-01-13 10:13:36 -08:00
trace
uapi staging: ashmem: Add missing include 2016-02-07 17:34:58 -08:00
ashmem.c staging: ashmem: Avoid deadlock with mmap/shrink 2016-02-07 17:34:58 -08:00
ashmem.h
Kconfig staging: android: fix typo 2015-09-12 18:24:57 -07:00
lowmemorykiller.c staging: lowmemorykiller: Make default lowmemorykiller debug message useful 2016-02-07 17:34:58 -08:00
Makefile staging: Remove logger and alarm-dev from android Makefile 2015-01-28 11:32:39 -08:00
sw_sync.c drivers/staging: make android sw_sync.c explicitly non-modular 2015-10-12 21:12:17 -07:00
sw_sync.h staging: android: sw_sync: checkpatch fixes 2014-09-19 16:35:53 -07:00
sync_debug.c staging/android/sync: Support sync points created from dma-fences 2015-12-21 13:37:53 -08:00
sync.c android: unconditionally remove callbacks in sync_fence_free() 2015-12-21 13:37:53 -08:00
sync.h staging/android/sync: add sync_fence_create_dma 2015-12-21 13:37:53 -08:00
timed_gpio.c staging: android: remove multiple blank lines 2015-11-15 20:02:47 -08:00
timed_gpio.h
timed_output.c drivers/staging: make android timed_output.c explicitly non-modular 2015-10-12 21:12:17 -07:00
timed_output.h
TODO staging/android: add TODO to de-stage android sync framework 2015-12-14 11:05:45 -08:00