From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0126AC4741F for ; Tue, 10 Nov 2020 18:23:02 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id AD2C7206B6 for ; Tue, 10 Nov 2020 18:23:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AD2C7206B6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 32A916B006C; Tue, 10 Nov 2020 13:23:01 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 2B3756B0070; Tue, 10 Nov 2020 13:23:01 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1A3416B0071; Tue, 10 Nov 2020 13:23:01 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0187.hostedemail.com [216.40.44.187]) by kanga.kvack.org (Postfix) with ESMTP id DED366B006C for ; Tue, 10 Nov 2020 13:23:00 -0500 (EST) Received: from smtpin09.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 8E69C1EE6 for ; Tue, 10 Nov 2020 18:23:00 +0000 (UTC) X-FDA: 77469330120.09.hall70_541402c272f7 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin09.hostedemail.com (Postfix) with ESMTP id 70E5E180AD804 for ; Tue, 10 Nov 2020 18:23:00 +0000 (UTC) X-HE-Tag: hall70_541402c272f7 X-Filterd-Recvd-Size: 1298 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by imf24.hostedemail.com (Postfix) with ESMTP for ; Tue, 10 Nov 2020 18:22:59 +0000 (UTC) Received: by verein.lst.de (Postfix, from userid 2407) id 0C28467373; Tue, 10 Nov 2020 19:22:58 +0100 (CET) Date: Tue, 10 Nov 2020 19:22:57 +0100 From: Christoph Hellwig To: "Matthew Wilcox (Oracle)" Cc: linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, hch@lst.de, kent.overstreet@gmail.com Subject: Re: [PATCH v3 13/18] mm/filemap: Add filemap_range_uptodate Message-ID: <20201110182257.GD28701@lst.de> References: <20201110033703.23261-1-willy@infradead.org> <20201110033703.23261-14-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201110033703.23261-14-willy@infradead.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Nov 10, 2020 at 03:36:58AM +0000, Matthew Wilcox (Oracle) wrote: > Move the complicated condition and the calculations out of > filemap_update_page() into its own function. > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: Kent Overstreet Looks good, Reviewed-by: Christoph Hellwig