diff options
author | Hugh Dickins <hugh@veritas.com> | 2005-09-03 22:54:38 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 07:05:41 (GMT) |
commit | 7dfad4183bf9cd92f977caa3c12cc74f0eefc0e6 (patch) | |
tree | e11306e1e82acba1832f07fdfb3296c34cf6e934 /include | |
parent | fb4f88dcabdc716c7c350e09cf4a38a419b007e1 (diff) | |
download | linux-fsl-qoriq-7dfad4183bf9cd92f977caa3c12cc74f0eefc0e6.tar.xz |
[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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions