Re: [PATCH 1/3] mm: vmscan: Do use use PF_SWAPWRITE fromzone_reclaim

From: Christoph Lameter
Date: Tue Jul 12 2011 - 11:43:54 EST


On Tue, 12 Jul 2011, Minchan Kim wrote:

> If I am not against this patch, at least, we need agreement of
> Christoph and others and if we agree this change, we changes vm.txt,
> too.

I think PF_SWAPWRITE should only be set if may_write was set earlier in
__zone_reclaim. If zone reclaim is not configured to do writeback then it
makes no sense to set the bit.

--
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/