From: Mel Gorman Date: Tue, 16 Oct 2007 08:25:50 +0000 (-0700) Subject: Drain per-cpu lists when high-order allocations fail X-Git-Tag: v2.6.24-rc1~1139 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2c55dc87f4a398b9c4dcc702dbc23a07fe14e23;p=pandora-kernel.git Drain per-cpu lists when high-order allocations fail Per-cpu pages can accidentally cause fragmentation because they are free, but pinned pages in an otherwise contiguous block. When this patch is applied, the per-cpu caches are drained after the direct-reclaim is entered if the requested order is greater than 0. It simply reuses the code used by suspend and hotplug. Signed-off-by: Mel Gorman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed