Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1799241rwd; Tue, 13 Jun 2023 14:33:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5CQ8gkFsYL7+8hWwcVy/+IloVc15v8njEaQRc1K4JblNHLg6uss6zrB8PQO8sXvhwoZBLR X-Received: by 2002:a2e:88ca:0:b0:2b1:cba2:39ae with SMTP id a10-20020a2e88ca000000b002b1cba239aemr5770930ljk.38.1686692003686; Tue, 13 Jun 2023 14:33:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686692003; cv=none; d=google.com; s=arc-20160816; b=oLb/+QvOu5A4PdTbQAT9ENy9f2ELkU2cPoe8fDV0z3iO4MdX3Qlk3oFLjbfXjstTNl ag5Ard2IwfJqavu8I6QBCs8DBP7mh2hjPhbS6H/vOMnBRU8IABbwMsfVQXdkq91cAVeH 0HKfcpwm6Us/i/+IzFgPG96utgWGRhkrbz90sB0QK0pBpEz52+2UUBn13n5enKESKllB aqoThxOvebj73psXHexC/RlsV7rrpajIVl8KYNAS7VBpjMhNMUymp9WLTe4DnmJWcLhg t3VTF+/cIn5t0SEAtv8A6rkh6yVZJDKELiNh2g1kUnYA9CEOO8t4LBUVeDQKux0t96dW 69UA== 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=H0iOC7fKk3Eub1lFI0Y/mqrYjY3LwxM2dWePNRo4+aE=; b=W5/eH1jDMyKdevuXlgYmnFpBs277Cf5b9cUALG8qHjOFAfh0zlqrcGMR2oI/JSmUMt sKCzz4hlaTf6cYq6xr/DO881BiiAzangc0cylND7p2jexj/lkvG3i3kavCxyk2/C+J0P G48ruD9iqISA/+Vhrhfebg7y33Xp0JrowOT/9O6vdj3azfBmeedNAmr2wA4gEJVt5ubh Y1jC1XO5sADS6JaSTwWDZ6hmLo2lsPbhFY08jo+wPZotXC9NRac31W5oDjFYmLzfap50 Ega5pHh9l+/heN+9/sVlceXl0x2aGAivD0eNgbXFZk4KfIN7ckNHZ0Ec47t81G9Awajv g4YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=PBwwEvV6; 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 i22-20020aa7dd16000000b005187b57b654si699743edv.600.2023.06.13.14.32.58; Tue, 13 Jun 2023 14:33:23 -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=casper.20170209 header.b=PBwwEvV6; 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 S234794AbjFMUwl (ORCPT + 99 others); Tue, 13 Jun 2023 16:52:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229783AbjFMUwk (ORCPT ); Tue, 13 Jun 2023 16:52:40 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDDE71701 for ; Tue, 13 Jun 2023 13:52:39 -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=H0iOC7fKk3Eub1lFI0Y/mqrYjY3LwxM2dWePNRo4+aE=; b=PBwwEvV661V6Ln95XqRlRNsYtU dDun80krLsGKlGrTK3VRHZ7XVddNjRpKAvQKjb1zWahDq7Rd/Uy0eHnJwXvLLaASDn3DfyWczD6dI T58Z8lMy974JHPj4VgA+vbw7S1BWEAc4U19iobjLaSsa1qLSn0mYrOsSlQXFzqTzY3X+BRbMW89BJ /FDUMrSIIKY05oUNKR8P2wFVdBhSWJCYcVXx7x+PON/TXduL/QUuUteJvA9lZ2sxazew+Sj/XYm0e vKfAIE0qrO5HrYgr0g4w/DQVcGM4QqQNAGMWB7YrdoPcjfSC5jPB9jcdYnxw64gfy18iQp6OsMcYd m6xGTTEg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1q9B0G-004K0A-4J; Tue, 13 Jun 2023 20:52:36 +0000 Date: Tue, 13 Jun 2023 21:52:36 +0100 From: Matthew Wilcox To: "Vishal Moola (Oracle)" Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/5] mm: Remove is_longterm_pinnable_page() and Reimplement folio_is_longterm_pinnable() Message-ID: References: <20230613201827.9441-1-vishal.moola@gmail.com> <20230613201827.9441-6-vishal.moola@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230613201827.9441-6-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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Tue, Jun 13, 2023 at 01:18:27PM -0700, Vishal Moola (Oracle) wrote: > folio_is_longterm_pinnable() already exists as a wrapper function. Now > that the whole implementation of is_longterm_pinnable_page() can be > implemented using folios, folio_is_longterm_pinnable() can be made its > own standalone function - and we can remove is_longterm_pinnable_page(). Yay, another wrapper function bites the dust. Reviewed-by: Matthew Wilcox (Oracle)