From: Hugh Dickins Date: Sat, 3 Sep 2005 22:54:38 +0000 (-0700) Subject: [PATCH] swap: scan_swap_map restyled X-Git-Tag: v2.6.14-rc1~981 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7dfad4183bf9cd92f977caa3c12cc74f0eefc0e6;p=pandora-kernel.git [PATCH] swap: scan_swap_map restyled Rewrite scan_swap_map to allocate in just the same way as before (taking the next free entry SWAPFILE_CLUSTER-1 times, then restarting at the lowest wholly empty cluster, falling back to lowest entry if none), but with a view towards dropping the lock in the next patch. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed