Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1619758rwb; Thu, 8 Dec 2022 13:03:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf5apkTP1/+/Ro8vHrAfRKdsNMn19kOnoddIuY7H87M9Pwj6r/A2tueQ54eJwN1OiPIJLrXN X-Received: by 2002:a17:906:3145:b0:7b5:665a:fca5 with SMTP id e5-20020a170906314500b007b5665afca5mr27423493eje.10.1670533413570; Thu, 08 Dec 2022 13:03:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670533413; cv=none; d=google.com; s=arc-20160816; b=B3mCzJJ4yVdh9A0eXIPEH3McpC83Bs6xTR4y7sHc15teHDygrtC6aG3RVJoqXDqPdn BBrsbfO9Q+7nG30CFwRnLll62p9o1my+Bo6ejV+2PTwcpzz9MyWK2vDfOCqVW5Dpkiig UuABza2fJ8IJmgLAojaD0zfwfAI2i1d5oHJw9qoD1Pm7we7uWpe0Dw+MQknRmkKvizQH sr6iDn/j1LHf3xYSlxC0RBumnfaK8JK1/NqLTW3xyfZa6Qm3wI0JSY/+G8kQEaLj6pr5 Im5MrvJqfFLCYp8se0wQLVKfFoxMiCcliEYi+KNhmYaPbx9Do88ffe5jyRD8MxLrTxVM D7mQ== 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=6M1aQ6KnOCSgd7LdUk/W3gNkuZ1MlCJmwuYIbc9y/Zw=; b=GHX70br31IfVQu8S4lyWvUZDuYyMiVc+jllC4a1aEXn9vYKLa7P6TUnYrwpGfPFHDQ d8INckcC+bB6iH6Ka6r4AIXgCMfs3nhgmlf8n62LR8Gu+vMWbNDL4yMp6zt1MFUDxw3W KUm/cmjDx5N3X7kDznPXv+sn/pCj9QP0obRnV5fTFE5iC6lZKt/+SsgBGpjJo6GpCgcb kyw8+Ol191yKLiWWHy+rtzpxNXwEQ6TTtYlmYI7+x4Ewa6YfoaU84jL28oG7spJBgYBb A8fUdxp9NWGUmAyKv6DumotppFxa4VmZmcHUYAyJVGjbCjKf9wDlgjE9c73mdO/Re6YF 9xWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="a6Cu/urG"; 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 hw19-20020a170907a0d300b007c0d7aca43asi9979631ejc.583.2022.12.08.13.03.16; Thu, 08 Dec 2022 13:03:33 -0800 (PST) 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=casper.20170209 header.b="a6Cu/urG"; 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 S229993AbiLHU5Y (ORCPT + 73 others); Thu, 8 Dec 2022 15:57:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229891AbiLHU5R (ORCPT ); Thu, 8 Dec 2022 15:57:17 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 661CD93A5E for ; Thu, 8 Dec 2022 12:57:14 -0800 (PST) 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=6M1aQ6KnOCSgd7LdUk/W3gNkuZ1MlCJmwuYIbc9y/Zw=; b=a6Cu/urGiNjNgt68ztqfWvg3Q0 73CDwzSLfO63tCS+UoNh4+yKODBlWYPHteF6j+O8wizxNdzAq22LvR+B6Q/6xXRuR5HLIyDLutx9b mnW6q+yO7K0ue7pwLh4Lys3hly34Pa/v9tTdUejkVTnKaJ/qEzHLVYtlGGBfI9szPyW89CL88Lc/2 iKyN6XpEmnWXx6mvsXF12JgkeM0PDTjlfkI3JRV7rgH3iQxXRySzrhFFVEvzuzPrW+9lbgnlJX2cn IODE+AhcYz2f/zSlAC+5MHu1FibnfN8GSsgSEzaQriIbTu/9KCrCotQQL8QdH8VZdOYsnfr61dLxP GMbS/h7Q==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3NxF-007JlF-FQ; Thu, 08 Dec 2022 20:57:17 +0000 Date: Thu, 8 Dec 2022 20:57:17 +0000 From: Matthew Wilcox To: "Vishal Moola (Oracle)" Cc: linux-mm@kvack.org, damon@lists.linux.dev, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, sj@kernel.org Subject: Re: [PATCH v3 2/4] madvise: Convert madvise_cold_or_pageout_pte_range() to use folios Message-ID: References: <20221208203503.20665-1-vishal.moola@gmail.com> <20221208203503.20665-3-vishal.moola@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221208203503.20665-3-vishal.moola@gmail.com> 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 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 Thu, Dec 08, 2022 at 12:35:01PM -0800, Vishal Moola (Oracle) wrote: > This change removes a number of calls to compound_head(), and saves 1319 > bytes of kernel text. > > Signed-off-by: Vishal Moola (Oracle) Reviewed-by: Matthew Wilcox (Oracle)