[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 6/9] mm: compaction: Acquire the zone->lock as l
From: |
Minchan Kim |
Subject: |
Re: [Qemu-devel] [PATCH 6/9] mm: compaction: Acquire the zone->lock as late as possible |
Date: |
Tue, 25 Sep 2012 16:35:57 +0900 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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 <address@hidden>
> Acked-by: Rik van Riel <address@hidden>
Acked-by: Minchan Kim <address@hidden>
--
Kind regards,
Minchan Kim
- [Qemu-devel] [PATCH 1/9] Revert "mm: compaction: check lock contention first before taking lock", (continued)
- [Qemu-devel] [PATCH 8/9] mm: compaction: Cache if a pageblock was scanned and no pages were isolated, Mel Gorman, 2012/09/21
- Re: [Qemu-devel] [PATCH 8/9] mm: compaction: Cache if a pageblock was scanned and no pages were isolated, Rafael Aquini, 2012/09/21
- Re: [Qemu-devel] [PATCH 8/9] mm: compaction: Cache if a pageblock was scanned and no pages were isolated, Andrew Morton, 2012/09/22
- Re: [Qemu-devel] [PATCH 8/9] mm: compaction: Cache if a pageblock was scanned and no pages were isolated, Mel Gorman, 2012/09/24
- Re: [Qemu-devel] [PATCH 8/9] mm: compaction: Cache if a pageblock was scanned and no pages were isolated, Andrew Morton, 2012/09/24
- Re: [Qemu-devel] [PATCH 8/9] mm: compaction: Cache if a pageblock was scanned and no pages were isolated, Mel Gorman, 2012/09/25
- Re: [Qemu-devel] [PATCH 8/9] mm: compaction: Cache if a pageblock was scanned and no pages were isolated, Andrew Morton, 2012/09/25
- [Qemu-devel] [PATCH] mm: compaction: cache if a pageblock was scanned and no pages were isolated -fix2, Mel Gorman, 2012/09/27
- Re: [Qemu-devel] [PATCH 8/9] mm: compaction: Cache if a pageblock was scanned and no pages were isolated, Mel Gorman, 2012/09/27
- Re: [Qemu-devel] [PATCH 8/9] mm: compaction: Cache if a pageblock was scanned and no pages were isolated, Minchan Kim, 2012/09/25