diff options
author | Hugh Dickins <hugh@veritas.com> | 2008-08-21 01:09:05 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-21 02:40:30 +0400 |
commit | 07279cdfd964acc032de92a527cb11b1f40f35aa (patch) | |
tree | e1f1269b459790e45ae11057fcd5b530bcbe5fd5 /mm/mm_init.c | |
parent | 16f8c5b2e64dec7faa5d3c7e9bdf0765e864e481 (diff) | |
download | linux-07279cdfd964acc032de92a527cb11b1f40f35aa.tar.xz |
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