From: Mel Gorman Date: Tue, 18 Dec 2007 00:20:05 +0000 (-0800) Subject: mm: fix page allocation for larger I/O segments X-Git-Tag: v2.6.24-rc6~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81eabcbe0b991ddef5216f30ae91c4b226d54b6d;p=pandora-kernel.git mm: fix page allocation for larger I/O segments In some cases the IO subsystem is able to merge requests if the pages are adjacent in physical memory. This was achieved in the allocator by having expand() return pages in physically contiguous order in situations were a large buddy was split. However, list-based anti-fragmentation changed the order pages were returned in to avoid searching in buffered_rmqueue() for a page of the appropriate migrate type. This patch restores behaviour of rmqueue_bulk() preserving the physical order of pages returned by the allocator without incurring increased search costs for anti-fragmentation. Signed-off-by: Mel Gorman Cc: James Bottomley Cc: Jens Axboe Cc: Mark Lord Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed