|
From: | Rik van Riel |
Subject: | Re: [Qemu-devel] [PATCH 3/6] mm: compaction: Acquire the zone->lock as late as possible |
Date: | Thu, 20 Sep 2012 14:54:33 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 |
On 09/20/2012 10:04 AM, 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 <address@hidden>
Acked-by: Rik van Riel <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |