Searched hist:"7 dfad4183bf9cd92f977caa3c12cc74f0eefc0e6" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/mm/ |
H A D | swapfile.c | diff 7dfad4183bf9cd92f977caa3c12cc74f0eefc0e6 Sat Sep 03 17:54:38 CDT 2005 Hugh Dickins <hugh@veritas.com> [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 <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|