Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp236971pxf; Tue, 6 Apr 2021 20:47:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxofIEqz9IXv4j9f7ODd5qzOKzjHANDmVmGZ68rlOzKtxlU29pkK8Y+WbZ9AVxeViF8bWWX X-Received: by 2002:a17:906:14d1:: with SMTP id y17mr1358231ejc.139.1617767235542; Tue, 06 Apr 2021 20:47:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617767235; cv=none; d=google.com; s=arc-20160816; b=ro74sVD0MOst3/UhI1m3V8Khzn8hDFrbqn+YTpsJ3noNv0akecmZRoj/PtuEw1m534 8WhAImStpvYT8Ocar15sPyj+e1TDXpar3PPOBOhRSNTBOInjknLHCsBoy8tuFrrThJU3 /i7IYVYwdq13jqsnvaKimiwi2Olrw/JRsi26U01VrN1INw0IxR0lXYV+2njH729aEugz axnUHMYK+JPW6qecYSSs+E7yeWsy+GaRq3ESEf/IgqpOkji643pVeln7biySdGy7eUpO /2foyWPQLQyy9/uOrQ5wz+yMQ7FHsJASahTt8sZh5Mquv97c5Q6FH6maIySAfbNS9z2y BrhQ== 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=sFos5Am2WOHKunK4sb1uTLPyIWgheGtp6/8nhKqbdyk=; b=cyrwwrOGjIbVpLIKaZoRRBfUoS3YkXVTc2QjRptANIYiiHd3s5mVv5ctqLx76U+cYp /PSGuHmDnQyMkcu/8Js/+vfqw91MzTnVnepKNsGZlsWEtixoR4Dm3rOlV1S9Q+7vk5d5 lqYwkMIe7np2NdhWzw22nHpMukXUCBCzdZm52dopU6XtpWvydo09lYYj2hwkQ6OvQrwo Zgt31v8A/NmVKIz84zccXWP+sc5d+HNctj1ddI+58ZoKuQ9pTQ3f6JA5jv6kDhIMIpW4 DaeYenMp6IEAZnlwiXtclr57K5f0ZMGP++YAPQ9e9LpPYrgnYLb/Qv93UQW3uPADbeZb UmpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=RE2tqCLP; 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 m26si8911764edp.330.2021.04.06.20.46.52; Tue, 06 Apr 2021 20:47:15 -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; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=RE2tqCLP; 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 S1344539AbhDFNgj (ORCPT + 99 others); Tue, 6 Apr 2021 09:36:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243988AbhDFNgj (ORCPT ); Tue, 6 Apr 2021 09:36:39 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A238C06174A; Tue, 6 Apr 2021 06:36:31 -0700 (PDT) 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=sFos5Am2WOHKunK4sb1uTLPyIWgheGtp6/8nhKqbdyk=; b=RE2tqCLPmm2p2Jiim5zD/uNDIf 4dYiLD6byhAOHa9CQnPYUuFte6PbKdi/VRbRJode1q3O2/VD/3/EpFfx8BpgGzNuHk+ehhFBK6Pm1 31EYVCfV4hTLzNBmWEaSmhCOp4q5bWa8Ta3DlPmp9bhGBRjwzfCH8FPtRYROvo2PujLx4TGVFmP/4 qmaLpBC7sQHnkLcEURIjo3k71nJSWEDXKQVQfc9UDAyibiQYYWpBo/DJlqYQ+17oKT+KSEbMyaweY zF6fhHt1mGBg00sfF/LXbutqZqWch1YlZaqZpaOar4EsSvjlr/ACp8Uq2cq5hAZx7LdL2kCqQMRu+ t5ziZR6g==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lTlqk-00Cron-0w; Tue, 06 Apr 2021 13:35:04 +0000 Date: Tue, 6 Apr 2021 14:34:34 +0100 From: Christoph Hellwig To: "Matthew Wilcox (Oracle)" Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-cachefs@redhat.com, linux-afs@lists.infradead.org Subject: Re: [PATCH v6 08/27] mm: Create FolioFlags Message-ID: <20210406133434.GG3062550@infradead.org> References: <20210331184728.1188084-1-willy@infradead.org> <20210331184728.1188084-9-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210331184728.1188084-9-willy@infradead.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 31, 2021 at 07:47:09PM +0100, Matthew Wilcox (Oracle) wrote: > These new functions are the folio analogues of the PageFlags functions. > If CONFIG_DEBUG_VM_PGFLAGS is enabled, we check the folio is not a tail > page at every invocation. Note that this will also catch the PagePoisoned > case as a poisoned page has every bit set, which would include PageTail. > > This saves 1727 bytes of text with the distro-derived config that > I'm testing due to removing a double call to compound_head() in > PageSwapCache(). Looks good, Reviewed-by: Christoph Hellwig