[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/9] mm: compaction: Abort compaction loop if lo
From: |
Andrew Morton |
Subject: |
Re: [Qemu-devel] [PATCH 4/9] mm: compaction: Abort compaction loop if lock is contended or run too long |
Date: |
Fri, 21 Sep 2012 14:31:22 -0700 |
On Fri, 21 Sep 2012 11:46:18 +0100
Mel Gorman <address@hidden> wrote:
> Changelog since V2
> o Fix BUG_ON triggered due to pages left on cc.migratepages
> o Make compact_zone_order() require non-NULL arg `contended'
>
> Changelog since V1
> o only abort the compaction if lock is contended or run too long
> o Rearranged the code by Andrea Arcangeli.
>
> isolate_migratepages_range() might isolate no pages if for example when
> zone->lru_lock is contended and running asynchronous compaction. In this
> case, we should abort compaction, otherwise, compact_zone will run a
> useless loop and make zone->lru_lock is even contended.
hm, this appears to be identical to
mm-compaction-abort-compaction-loop-if-lock-is-contended-or-run-too-long.patch
mm-compaction-abort-compaction-loop-if-lock-is-contended-or-run-too-long-fix.patch
mm-compaction-abort-compaction-loop-if-lock-is-contended-or-run-too-long-fix-2.patch
so I simply omitted patches 2, 3 and 4.
- Re: [Qemu-devel] [PATCH 8/9] mm: compaction: Cache if a pageblock was scanned and no pages were isolated, (continued)
- 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
- Re: [Qemu-devel] [PATCH 8/9] mm: compaction: Cache if a pageblock was scanned and no pages were isolated, Minchan Kim, 2012/09/25
[Qemu-devel] [PATCH 9/9] mm: compaction: Restart compaction from near where it left off, Mel Gorman, 2012/09/21
[Qemu-devel] [PATCH 4/9] mm: compaction: Abort compaction loop if lock is contended or run too long, Mel Gorman, 2012/09/21
[Qemu-devel] [PATCH 5/9] mm: compaction: Acquire the zone->lru_lock as late as possible, Mel Gorman, 2012/09/21
- Re: [Qemu-devel] [PATCH 5/9] mm: compaction: Acquire the zone->lru_lock as late as possible, Rafael Aquini, 2012/09/21
- Re: [Qemu-devel] [PATCH 5/9] mm: compaction: Acquire the zone->lru_lock as late as possible, Minchan Kim, 2012/09/25
- Re: [Qemu-devel] [PATCH 5/9] mm: compaction: Acquire the zone->lru_lock as late as possible, Mel Gorman, 2012/09/25
- Re: [Qemu-devel] [PATCH 5/9] mm: compaction: Acquire the zone->lru_lock as late as possible, Minchan Kim, 2012/09/25
- Re: [Qemu-devel] [PATCH 5/9] mm: compaction: Acquire the zone->lru_lock as late as possible, Andrew Morton, 2012/09/25
- Re: [Qemu-devel] [PATCH 5/9] mm: compaction: Acquire the zone->lru_lock as late as possible, Minchan Kim, 2012/09/25
- Re: [Qemu-devel] [PATCH 5/9] mm: compaction: Acquire the zone->lru_lock as late as possible, Mel Gorman, 2012/09/26
Re: [Qemu-devel] [PATCH 0/9] Reduce compaction scanning and lock contention, Rik van Riel, 2012/09/21