summaryrefslogtreecommitdiffstats
path: root/mm/mm_init.c
diff options
context:
space:
mode:
authorHugh Dickins2008-08-20 23:09:05 +0200
committerLinus Torvalds2008-08-21 00:40:30 +0200
commit07279cdfd964acc032de92a527cb11b1f40f35aa (patch)
treee1f1269b459790e45ae11057fcd5b530bcbe5fd5 /mm/mm_init.c
parentmm: page_remove_rmap comments on PageAnon (diff)
downloadkernel-qcow2-linux-07279cdfd964acc032de92a527cb11b1f40f35aa.tar.gz
kernel-qcow2-linux-07279cdfd964acc032de92a527cb11b1f40f35aa.tar.xz
kernel-qcow2-linux-07279cdfd964acc032de92a527cb11b1f40f35aa.zip
mm: show free swap as signed
Adjust <Alt><SysRq>m show_swap_cache_info() to show "Free swap" as a signed long: the signed format is preferable, because during swapoff nr_swap_pages can legitimately go negative, so makes more sense thus (it used to be shown redundantly, once as signed and once as unsigned). Signed-off-by: Hugh Dickins <hugh@veritas.com> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions