summaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
authorHugh Dickins2009-12-15 02:58:45 +0100
committerLinus Torvalds2009-12-15 17:53:15 +0100
commit8d69aaee80c123b460918816cbfa2e83224c3646 (patch)
tree899a69417dbd81f9b53926d7076629cc9b394ae5 /mm/memory.c
parentswap_info: SWAP_HAS_CACHE cleanups (diff)
downloadkernel-qcow2-linux-8d69aaee80c123b460918816cbfa2e83224c3646.tar.gz
kernel-qcow2-linux-8d69aaee80c123b460918816cbfa2e83224c3646.tar.xz
kernel-qcow2-linux-8d69aaee80c123b460918816cbfa2e83224c3646.zip
swap_info: swap_map of chars not shorts
Halve the vmalloc'ed swap_map array from unsigned shorts to unsigned chars: it's still very unusual to reach a swap count of 126, and the next patch allows it to be extended indefinitely. Signed-off-by: Hugh Dickins <hugh.dickins@tiscali.co.uk> Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions