Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp168560ybz; Thu, 30 Apr 2020 18:52:21 -0700 (PDT) X-Google-Smtp-Source: APiQypLDaviDkO9436vMe326EP2WlqKGoCaXDuX1YtPOmi/tUqni/Tmi4sJHYvyTBxCp4kyakZny X-Received: by 2002:a17:907:9e5:: with SMTP id ce5mr1197828ejc.123.1588297941738; Thu, 30 Apr 2020 18:52:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588297941; cv=none; d=google.com; s=arc-20160816; b=E8aHhDdYKHSY0LR3FGjYDHLWXt+MaNjtMb9NEZysBTmaftlT6EsLI5Z93haiA+xaVf DPFivTa4tJN5BGY8yV9z0V68GAM6gX2ZjrRgWImIvHSsLPxakHexh1uTWDt8P/Nn2L3X ++kfDRc/AMSncoXQdMO8EWmH5frks2MAynpSYkimrjlC7qhs+zEGt7jNXI7fexvCSbkA L7IuGwA9onWUjoxnGYwjIHG3EtgVowZbWoN8eotPBc7bT0ipd94zDx6v1XB22AigjBuw CwC1PQ55Pqxjq3HPOO9GcBDFVlXsxzTSveofnnhHeT2Pa0RaJqvRgBECZlYM7ffCjZXm 8G/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=OnTBD6DqpX+uKaRY/s2WtwBpe2LYhu3rtR56UsL7WPo=; b=X6k5/5Dw+imdpfMJsb6rGwEGJcVoRGJ+IFXA8tU1rUGjUu2S/EmEOdHHZLdwXszDdV XEVOABZXbJEgyUHxPLlpQeGZIgenrYnQdHHA4etNB27Zcyg1ddQH63wHTt+tbqE6Unxj XSynrS7fuyPF244eL0W9d5fF92DFp5uRa2hQrzGB79Ah7LeQzGrjPigaZNEgBGhAsbW9 vnadglrgFwepTrK5vmSXh07B9lDHufL01M6vzIkm6cHSyUWlHsSr1eEPM5LXwIgOTo58 dwhhwZL3MMevKw1Ij14zjdCleXmgA9k+eMx92Hdbfrjgs2aALlvqjksuLeqXO4eLkUsW azSQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a12si962426edx.283.2020.04.30.18.51.57; Thu, 30 Apr 2020 18:52:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727977AbgEABuA (ORCPT + 99 others); Thu, 30 Apr 2020 21:50:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727114AbgEABt7 (ORCPT ); Thu, 30 Apr 2020 21:49:59 -0400 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9098AC035494; Thu, 30 Apr 2020 18:49:59 -0700 (PDT) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jUKoM-00FVfr-JJ; Fri, 01 May 2020 01:49:54 +0000 Date: Fri, 1 May 2020 02:49:54 +0100 From: Al Viro To: Matthew Wilcox Cc: Guoqing Jiang , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, hch@infradead.org, david@fromorbit.com, Andrew Morton , "Darrick J. Wong" , William Kucharski , "Kirill A. Shutemov" , Andreas Gruenbacher , Yang Shi , Yafang Shao , Song Liu , linux-raid@vger.kernel.org, Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org, Jaegeuk Kim , Chao Yu , linux-f2fs-devel@lists.sourceforge.net, linux-xfs@vger.kernel.org, Anton Altaparmakov , linux-ntfs-dev@lists.sourceforge.net, Mike Marshall , Martin Brandenburg , devel@lists.orangefs.org, Thomas Gleixner , Sebastian Andrzej Siewior , Roman Gushchin , Andreas Dilger Subject: Re: [RFC PATCH V2 1/9] include/linux/pagemap.h: introduce attach/clear_page_private Message-ID: <20200501014954.GC23230@ZenIV.linux.org.uk> References: <20200430214450.10662-1-guoqing.jiang@cloud.ionos.com> <20200430214450.10662-2-guoqing.jiang@cloud.ionos.com> <20200430221338.GY29705@bombadil.infradead.org> <20200501014229.GB23230@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200501014229.GB23230@ZenIV.linux.org.uk> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 01, 2020 at 02:42:29AM +0100, Al Viro wrote: > On Thu, Apr 30, 2020 at 03:13:38PM -0700, Matthew Wilcox wrote: > > > > +/** > > > + * clear_page_private - clear page's private field and PG_private. > > > + * @page: page to be cleared. > > > + * > > > + * The counterpart function of attach_page_private. > > > + * Return: private data of page or NULL if page doesn't have private data. > > > + */ > > > > Seems to me that the opposite of "attach" is "detach", not "clear". > > Or "remove", perhaps... Actually, "detach" is better - neither "clear" nor "remove" imply "... and give me what used to be attached there", as this thing is doing.