From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 6A61C81EA8 for ; Tue, 15 Nov 2016 14:44:03 -0800 (PST) Received: by mail-wm0-x229.google.com with SMTP id g23so199396214wme.1 for ; Tue, 15 Nov 2016 14:44:08 -0800 (PST) Date: Wed, 16 Nov 2016 01:44:05 +0300 From: "Kirill A. Shutemov" Subject: Re: [PATCH 15/21] mm: Move part of wp_page_reuse() into the single call site Message-ID: <20161115224405.GO23021@node> References: <1478233517-3571-1-git-send-email-jack@suse.cz> <1478233517-3571-16-git-send-email-jack@suse.cz> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1478233517-3571-16-git-send-email-jack@suse.cz> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Jan Kara Cc: linux-nvdimm@lists.01.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Andrew Morton , "Kirill A. Shutemov" List-ID: On Fri, Nov 04, 2016 at 05:25:11AM +0100, Jan Kara wrote: > wp_page_reuse() handles write shared faults which is needed only in > wp_page_shared(). Move the handling only into that location to make > wp_page_reuse() simpler and avoid a strange situation when we sometimes > pass in locked page, sometimes unlocked etc. > > Reviewed-by: Ross Zwisler > Signed-off-by: Jan Kara Acked-by: Kirill A. Shutemov -- Kirill A. Shutemov _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm