Re: [PATCH 6/9] mm: compaction: Acquire the zone->lock as late as possible
From: Minchan Kim <minchan@kernel.org>
Date: 2012-09-25 07:32:54
Also in:
kvm, lkml, qemu-devel
From: Minchan Kim <minchan@kernel.org>
Date: 2012-09-25 07:32:54
Also in:
kvm, lkml, qemu-devel
On Fri, Sep 21, 2012 at 11:46:20AM +0100, Mel Gorman wrote:
Compactions free scanner acquires the zone->lock when checking for PageBuddy pages and isolating them. It does this even if there are no PageBuddy pages in the range. This patch defers acquiring the zone lock for as long as possible. In the event there are no free pages in the pageblock then the lock will not be acquired at all which reduces contention on zone->lock. Signed-off-by: Mel Gorman <mgorman@suse.de> Acked-by: Rik van Riel <redacted>
Acked-by: Minchan Kim <minchan@kernel.org> -- Kind regards, Minchan Kim -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>