diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-12-07 05:33:02 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 17:39:23 +0100 |
commit | bc4ba393c007248f76c05945abb7b7b892cdd1cc (patch) | |
tree | 3c2cf7e13ecf991c58ffc00617757fcdeb3d863f /mm/sparse.c | |
parent | [PATCH] Remove uses of kmem_cache_t from mm/* and include/linux/slab.h (diff) | |
download | linux-bc4ba393c007248f76c05945abb7b7b892cdd1cc.tar.xz linux-bc4ba393c007248f76c05945abb7b7b892cdd1cc.zip |
[PATCH] drain_node_page(): Drain pages in batch units
drain_node_pages() currently drains the complete pageset of all pages. If
there are a large number of pages in the queues then we may hold off
interrupts for too long.
Duplicate the method used in free_hot_cold_page. Only drain pcp->batch
pages at one time.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions