mirror-linux/drivers/staging
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
..
android staging: lowmemorykiller: Make default lowmemorykiller debug message useful 2016-02-07 17:34:58 -08:00
board
clocking-wizard
comedi STAGING: COMEDI: Using kernel types in plx9080.h 2015-12-21 16:02:21 -08:00
dgnc
emxx_udc staging: emxx_udc: use list_first_entry_or_null() 2015-12-21 18:32:52 -08:00
fbtft
fsl-mc
fwserial Staging: fwserial: Declare fwtty_port_get as static 2016-01-28 23:13:35 -08:00
gdm72xx staging: gdm72xx: add userspace data struct 2015-12-26 17:13:33 -08:00
gdm724x staging: gdm724x: constify tty_port_operations structs 2015-12-26 17:13:33 -08:00
goldfish
gs_fpgaboot
iio Merge 4.5-rc3 into staging-next 2016-02-07 17:34:04 -08:00
lustre staging: lustre: add static declaration 2016-02-07 17:34:58 -08:00
media media updates for v4.5-rc1 2016-01-13 11:46:37 -08:00
most staging: most: add __iomem for io_base and registers 2016-02-07 17:34:58 -08:00
mt29f_spinand staging: mt29f_spinand: make use of nand_set/get_controller_data() helpers 2016-01-07 10:23:41 -08:00
netlogic staging: netlogic: Fix build error due to missed API change 2016-01-10 22:06:58 -05:00
nvec
octeon Staging patches for 4.5-rc1 2016-01-13 10:13:36 -08:00
octeon-usb
rdma staging/rdma: remove deprecated ipath driver 2016-02-03 11:10:58 -05:00
rtl8188eu
rtl8192e
rtl8192u
rtl8712
rtl8723au
rts5208
skein
slicoss staging/slicoss: Use ethtool_ops instead of module_param. 2016-02-06 21:45:59 -08:00
sm750fb
speakup Merge 4.5-rc3 into staging-next 2016-02-07 17:34:04 -08:00
ste_rmi4
unisys staging: unisys: visornic: remove useless memset 2016-02-07 17:34:58 -08:00
vme
vt6655
vt6656
wilc1000 staging: wilc1000: fix return error code of wilc_deinit 2016-02-07 17:34:58 -08:00
wlan-ng
xgifb
Kconfig misc: Move panel driver out of staging 2016-02-03 14:14:22 -08:00
Makefile misc: Move panel driver out of staging 2016-02-03 14:14:22 -08:00
staging.c