Re: [PATCH 11/12] nfs: Prevent page allocator recursions with swapover NFS.

From: Rik van Riel
Date: Wed Jun 20 2012 - 13:44:01 EST


On 06/20/2012 05:38 AM, Mel Gorman wrote:
GFP_NOFS is _more_ permissive than GFP_NOIO in that it will initiate
IO, just not of any filesystem data.

The problem is that previously NOFS was correct because that avoids
recursion into the NFS code. With swap-over-NFS, it is no longer
correct as swap IO can lead to this recursion.

Signed-off-by: Peter Zijlstra<a.p.zijlstra@xxxxxxxxx>
Signed-off-by: Mel Gorman<mgorman@xxxxxxx>

Acked-by: Rik van Riel<riel@xxxxxxxxxx>

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