summaryrefslogtreecommitdiffstats
path: root/mm/page_io.c
diff options
context:
space:
mode:
authorHugh Dickins2009-12-15 02:58:48 +0100
committerLinus Torvalds2009-12-15 17:53:16 +0100
commit7509765a29cfb1a4c506c09b304aaf3b4111c653 (patch)
tree1f2de5381e044b452653a3af0f32e403ffe51931 /mm/page_io.c
parentswap_info: note SWAP_MAP_SHMEM (diff)
downloadkernel-qcow2-linux-7509765a29cfb1a4c506c09b304aaf3b4111c653.tar.gz
kernel-qcow2-linux-7509765a29cfb1a4c506c09b304aaf3b4111c653.tar.xz
kernel-qcow2-linux-7509765a29cfb1a4c506c09b304aaf3b4111c653.zip
swap_info: reorder its fields
Reorder (and comment) the fields of swap_info_struct, to make better use of its cachelines: it's good for swap_duplicate() in particular if unsigned int max and swap_map are near the start. Signed-off-by: Hugh Dickins <hugh.dickins@tiscali.co.uk> Cc: 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/page_io.c')
0 files changed, 0 insertions, 0 deletions