Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx1.redhat.com ([209.132.183.28]:13164 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752714Ab2FTRoE (ORCPT ); Wed, 20 Jun 2012 13:44:04 -0400 Message-ID: <4FE20B9C.7010209@redhat.com> Date: Wed, 20 Jun 2012 13:42:52 -0400 From: Rik van Riel MIME-Version: 1.0 To: Mel Gorman CC: Andrew Morton , Linux-MM , Linux-Netdev , Linux-NFS , LKML , David Miller , Trond Myklebust , Neil Brown , Christoph Hellwig , Peter Zijlstra , Mike Christie , Eric B Munson Subject: Re: [PATCH 11/12] nfs: Prevent page allocator recursions with swap over NFS. References: <1340185081-22525-1-git-send-email-mgorman@suse.de> <1340185081-22525-12-git-send-email-mgorman@suse.de> In-Reply-To: <1340185081-22525-12-git-send-email-mgorman@suse.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-nfs-owner@vger.kernel.org List-ID: 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 > Signed-off-by: Mel Gorman Acked-by: Rik van Riel