From: Hugh Dickins Date: Sat, 3 Sep 2005 22:54:34 +0000 (-0700) Subject: [PATCH] swap: show span of swap extents X-Git-Tag: v2.6.14-rc1~985 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53092a7402f227151a681b0c92ec8598c5618b1a;p=pandora-kernel.git [PATCH] swap: show span of swap extents The "Adding %dk swap" message shows the number of swap extents, as a guide to how fragmented the swapfile may be. But a useful further guide is what total extent they span across (sometimes scarily large). And there's no need to keep nr_extents in swap_info: it's unused after the initial message, so save a little space by keeping it on stack. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed