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=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no 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 3814FC55ABD for ; Sat, 14 Nov 2020 10:19:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D224C22252 for ; Sat, 14 Nov 2020 10:19:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726614AbgKNKTL (ORCPT ); Sat, 14 Nov 2020 05:19:11 -0500 Received: from verein.lst.de ([213.95.11.211]:49995 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726513AbgKNKTL (ORCPT ); Sat, 14 Nov 2020 05:19:11 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id 4E4D167373; Sat, 14 Nov 2020 11:19:06 +0100 (CET) Date: Sat, 14 Nov 2020 11:19:05 +0100 From: Christoph Hellwig To: "Matthew Wilcox (Oracle)" Cc: linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, hughd@google.com, hch@lst.de, hannes@cmpxchg.org, yang.shi@linux.alibaba.com, dchinner@redhat.com, linux-kernel@vger.kernel.org, Jan Kara , William Kucharski Subject: Re: [PATCH v4 11/16] mm: Add an 'end' parameter to pagevec_lookup_entries Message-ID: <20201114101905.GL19102@lst.de> References: <20201112212641.27837-1-willy@infradead.org> <20201112212641.27837-12-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201112212641.27837-12-willy@infradead.org> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 12, 2020 at 09:26:36PM +0000, Matthew Wilcox (Oracle) wrote: > Simplifies the callers and uses the existing functionality > in find_get_entries(). We can also drop the final argument of > truncate_exceptional_pvec_entries() and simplify the logic in that > function. I'd say the truncate_exceptional_pvec_entries simpliciation is a separate step and should normally be a separate patch. But otherwise this looks good: Reviewed-by: Christoph Hellwig