From: Christoph Lameter Date: Thu, 7 Dec 2006 04:33:02 +0000 (-0800) Subject: [PATCH] drain_node_page(): Drain pages in batch units X-Git-Tag: v2.6.20-rc1~145^2^2~318 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc4ba393c007248f76c05945abb7b7b892cdd1cc;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed