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=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 BE916C5519F for ; Thu, 12 Nov 2020 17:42:06 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 1AAE321D7F for ; Thu, 12 Nov 2020 17:42:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Uj8oHNbS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1AAE321D7F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 104596B005C; Thu, 12 Nov 2020 12:42:05 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 0B40F6B005D; Thu, 12 Nov 2020 12:42:05 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EBEAB6B006E; Thu, 12 Nov 2020 12:42:04 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0206.hostedemail.com [216.40.44.206]) by kanga.kvack.org (Postfix) with ESMTP id B8DEE6B005C for ; Thu, 12 Nov 2020 12:42:04 -0500 (EST) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 504F61EE6 for ; Thu, 12 Nov 2020 17:42:04 +0000 (UTC) X-FDA: 77476484568.23.trip13_5f10e7827308 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin23.hostedemail.com (Postfix) with ESMTP id 8DFCE3761A for ; Thu, 12 Nov 2020 17:41:58 +0000 (UTC) X-HE-Tag: trip13_5f10e7827308 X-Filterd-Recvd-Size: 2825 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf35.hostedemail.com (Postfix) with ESMTP for ; Thu, 12 Nov 2020 17:41:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=eaX1+ATZFX5QaZboVsjA3nZdkItK9osiOb9syEljGl4=; b=Uj8oHNbSuyqpEQWRlw8PlugXFK x7uOsrfD57/4YXq/Ovu8hrqbA/PHGjQC5k6mm1/wC7/4uqolMu9lxkxtJd7pIx+xiSISFW6beSVlr fd1RCLn7PzPDAwgtoD5H1y1zC7zu1T5hDdD651ERepHfnbkMkGxVM8SVMa8prsSm2AWfqeTpuPcTA zdTQ95X5WI0i0i4neQ0di7zSYTzKCtOU/c18Z6wW8XKYDJVXfQ6MWUR439Ng9+iOu0g6cEU9xL5OV 2f3tSz5ExLhNngGnWV6YO/jrjYLYulNPCP5vKNAuU6sHK7WWb8UF9utT3MS/X/ML+G3C2WqMbKu+U u1bWu1Sw==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kdGbW-0001cV-FZ; Thu, 12 Nov 2020 17:41:50 +0000 Date: Thu, 12 Nov 2020 17:41:50 +0000 From: Matthew Wilcox To: Mike Rapoport Cc: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Andrew Morton , Hugh Dickins , Johannes Weiner , Yang Shi , Dave Chinner , linux-kernel@vger.kernel.org, Jan Kara , William Kucharski Subject: Re: [PATCH v3 01/12] mm: Make pagecache tagged lookups return only head pages Message-ID: <20201112174150.GC17076@casper.infradead.org> References: <20201026041408.25230-1-willy@infradead.org> <20201026041408.25230-2-willy@infradead.org> <20201028075056.GB1362354@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201028075056.GB1362354@kernel.org> 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 Wed, Oct 28, 2020 at 09:50:56AM +0200, Mike Rapoport wrote: > > @@ -2074,8 +2074,8 @@ EXPORT_SYMBOL(find_get_pages_contig); > > * @nr_pages: the maximum number of pages > > * @pages: where the resulting pages are placed > > * > > - * Like find_get_pages, except we only return pages which are tagged with > > - * @tag. We update @index to index the next page for the traversal. > > + * Like find_get_pages(), except we only return head pages which are tagged > > + * with @tag. We update @index to index the next page for the traversal. > > Nit: ^ next head page I don't love the sentence anyway. How about: * Like find_get_pages(), except we only return head pages which are tagged * with @tag. @index is updated to the index immediately after the last * page we return, ready for the next iteration.