From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f70.google.com (mail-pg0-f70.google.com [74.125.83.70]) by kanga.kvack.org (Postfix) with ESMTP id 9B8206B0069 for ; Wed, 14 Dec 2016 15:41:26 -0500 (EST) Received: by mail-pg0-f70.google.com with SMTP id p66so55239249pga.4 for ; Wed, 14 Dec 2016 12:41:26 -0800 (PST) Received: from mga01.intel.com (mga01.intel.com. [192.55.52.88]) by mx.google.com with ESMTPS id g68si54508401pfe.278.2016.12.14.12.41.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Dec 2016 12:41:25 -0800 (PST) Date: Wed, 14 Dec 2016 13:41:18 -0700 From: Ross Zwisler Subject: Re: [PATCH v2 1/3] dax: masking off __GFP_FS in fs DAX handlers Message-ID: <20161214204118.GA14901@linux.intel.com> References: <148174532372.194339.4875475197715168429.stgit@djiang5-desk3.ch.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <148174532372.194339.4875475197715168429.stgit@djiang5-desk3.ch.intel.com> Sender: owner-linux-mm@kvack.org List-ID: To: Dave Jiang Cc: akpm@linux-foundation.org, jack@suse.cz, linux-nvdimm@lists.01.org, david@fromorbit.com, hch@lst.de, linux-mm@kvack.org, tytso@mit.edu, ross.zwisler@linux.intel.com, dan.j.williams@intel.com On Wed, Dec 14, 2016 at 12:55:23PM -0700, Dave Jiang wrote: > The callers into dax needs to clear __GFP_FS since they are responsible > for acquiring locks / transactions that block __GFP_FS allocation. They > will restore the lag when dax function return. > > Signed-off-by: Dave Jiang This seems correct to me. Reviewed-by: Ross Zwisler -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org