summaryrefslogtreecommitdiff
path: root/kernel/mutex-debug.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2013-05-03 14:57:29 -0700
committerArve Hjønnevåg <arve@android.com>2013-07-01 14:16:25 -0700
commit3b60bc5f65bf62348226bc1dbb1107c894619f46 (patch)
tree1f2f83780f186f2fea03cc10a876f8e295614ae7 /kernel/mutex-debug.c
parent50bf9d6b0c5e99b9c16a6014d44cf7f53dfbce37 (diff)
downloadolio-linux-3.10-3b60bc5f65bf62348226bc1dbb1107c894619f46.tar.xz
olio-linux-3.10-3b60bc5f65bf62348226bc1dbb1107c894619f46.zip
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. Change-Id: I1fe983381e73e124b90aa5d91cb66e55eaca390f Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'kernel/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions