diff options
author | 2006-01-06 00:10:55 -0800 | |
---|---|---|
committer | 2006-01-06 08:33:24 -0800 | |
commit | c484d41042e6ccb88089ca41e3b3eed1bafdae21 (patch) | |
tree | c65e522698456899ed5ab058373d3ca2aad1650b /include/linux/page-flags.h | |
parent | [PATCH] sparsemem: provide pfn_to_nid (diff) | |
download | wireguard-linux-c484d41042e6ccb88089ca41e3b3eed1bafdae21.tar.xz wireguard-linux-c484d41042e6ccb88089ca41e3b3eed1bafdae21.zip |
[PATCH] mm: free_pages_and_swap_cache opt
Minor optimization (though it doesn't help in the PREEMPT case, severely
constrained by small ZAP_BLOCK_SIZE). free_pages_and_swap_cache works in
chunks of 16, calling release_pages which works in chunks of PAGEVEC_SIZE.
But PAGEVEC_SIZE was dropped from 16 to 14 in 2.6.10, so we're now doing more
spin_lock_irq'ing than necessary: use PAGEVEC_SIZE throughout.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/page-flags.h')
0 files changed, 0 insertions, 0 deletions