Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp30640259rwd; Thu, 6 Jul 2023 08:38:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlH64Xm5eEnqilnI8ZqLrV1z4FZh0/8bM2mQybK/JseQZ3BDjJdwoZf0TiY9beE9lX4Cy7fx X-Received: by 2002:a17:902:d38c:b0:1b5:5aa0:cfd9 with SMTP id e12-20020a170902d38c00b001b55aa0cfd9mr1920025pld.48.1688657933995; Thu, 06 Jul 2023 08:38:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688657933; cv=none; d=google.com; s=arc-20160816; b=yCRV2VsySaHgbBQ6CD5a4RqMEAYeZVm+ijGMLZ2O7gmpKwqy0LskrlxQ7tvFYjNW1f qIg5EgK3mXAK6zJGhzg+UTMaY+GPWhyA5xZomr8hvO/5v0R52t/jd2JXPRDIvI2Z6k4K KpdIAKNdbvFq8yX4OQHvS2jarj172IO3pWsdwpsZjhELOGWzoB5qdAUCItRR851tgdaH zjA3pwTUsCJKg6VR3ng2m3icvirk4cd7bhskUEhV80qDCw1fow8XpBloUFpmO8ZOIjxo BF6bTlVAaP4Uvm1nqM69EGUcuEyuVo+RHCD20ji5lNX+8740AEaQt69Hu2TvWMx4Xh7X nsQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zla1ImuYlSI5ZdeorNKDcqvlZHdC0vro7cklgNetIq4=; fh=XBv1KVp2ylPahym0dd6yANcmMUBsIN3u7BJzr2CP17s=; b=FhHEBbOy9IKMGgLUGkq4XTULg55Mj3q5Bc/bSxHKpkh1f9cKpT6ySh3BCRXHl6/zwo MeCkeU+WRMepraFmw81GmKMJJgSAHaJ5kjTbrEsA4lXRi7nReTav7sBwdo8ubAfXAH3G QjDp/3q5w5+jUT5BISJSlrNVoizGnAICUwXVNTPyXUnvDu/ns3JxoPJiJKiyfIQRZ+lt 4w3vRF0DXgg6Z1reR/O4BET07U7ZaKukaanLvGD8F5LRj1eIQhMj97GFOqydc46fjs6f S0I7bjsW7dJjVqhCGwLtmfNmVasYQfIXLD6TIZhj+1VqVdTHN3KgWBDXyJ2lmcDqf7fn Hm5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=md2yoQbs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kg14-20020a170903060e00b001b8c7bbffb8si776403plb.451.2023.07.06.08.38.39; Thu, 06 Jul 2023 08:38:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=md2yoQbs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232769AbjGFPVb (ORCPT + 99 others); Thu, 6 Jul 2023 11:21:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231315AbjGFPVa (ORCPT ); Thu, 6 Jul 2023 11:21:30 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94B891730; Thu, 6 Jul 2023 08:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=zla1ImuYlSI5ZdeorNKDcqvlZHdC0vro7cklgNetIq4=; b=md2yoQbsnnELLcfX6YH8bFGdgD sVm3mfyQyYUBNSKlDnq01v4epjnSUGYjdn0UcoSP/y4qznjsZ5DVvjb7Ednq5ebTwXF4vGlcRcNND LHM0q+covQuGM7MQUrnz/4r6PTvLDf17t9LKMo0Y6QNTtcD9gSa8AKjWLG+0EX5OMku5iH7jLNtfR TMZay13oaFnWOSnyEOQAeHrFwWMJkHxTimLAEwwF5Sc0FIlDLrpGOFofVyIet7FH6QyCxvzOjElFP o0bo0vZKvhnQjryDZlVlhCzo9+Q5jmy5qcpOp9MZ4LG7iGYUVoJF3xPRmKLbhkyjS/ZyZqGZy/Tqe zW+T7FUA==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qHQn6-001zS5-18; Thu, 06 Jul 2023 15:21:08 +0000 Date: Thu, 6 Jul 2023 08:21:08 -0700 From: Christoph Hellwig To: David Howells Cc: Jens Axboe , Al Viro , Christoph Hellwig , Matthew Wilcox , Jan Kara , Jeff Layton , David Hildenbrand , Jason Gunthorpe , Logan Gunthorpe , Hillf Danton , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Christian Brauner Subject: Re: [RFC PATCH 01/11] iov_iter: Fix comment refs to iov_iter_get_pages/pages_alloc() Message-ID: References: <20230630152524.661208-1-dhowells@redhat.com> <20230630152524.661208-2-dhowells@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230630152524.661208-2-dhowells@redhat.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 30, 2023 at 04:25:14PM +0100, David Howells wrote: > /* > * FOLL_LONGTERM indicates that the page will be held for an indefinite > * time period _often_ under userspace control. This is in contrast to > - * iov_iter_get_pages(), whose usages are transient. > + * iov_iter_get_pages2(), whose usages are transient. > */ I don't think this should refer to iov_iter_get_pages* at all. The flag should document that actual get/pin_user interfaces and not refer to a (deprecated) interface built on top of it.