Re: [RFC 5/7] Laundry handling for direct reclaim
From: Christoph Lameter
Date: Tue Aug 21 2007 - 16:55:43 EST
On Tue, 21 Aug 2007, Mel Gorman wrote:
> > @@ -1156,6 +1156,7 @@ unsigned long try_to_free_pages(struct z
> > .swappiness = vm_swappiness,
> > .order = order,
> > };
> > + LIST_HEAD(laundry);
>
> Why is the laundry not made part of the scan_control?
That is one possibility. The other is to treat laundry as a lru type list
under zone->lru_lock. This would allow the writeback process (whichever
that is) to be independent of the producer of the laundry. Dirty pages
could be isolated from an atomic context.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/