From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 16 Nov 2016 01:44:05 +0300 From: "Kirill A. Shutemov" To: Jan Kara Cc: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-nvdimm@lists.01.org, Andrew Morton , Ross Zwisler , "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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1478233517-3571-16-git-send-email-jack@suse.cz> Sender: owner-linux-mm@kvack.org 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 -- 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