Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1819298rwd; Tue, 13 Jun 2023 14:57:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6B19INWhRL2n7qs5DdNgeIVVmF4PCb3avEdCEotj9jfRDebwHpUG0QxWqHYQ2UWgrKsWcC X-Received: by 2002:a17:907:6e86:b0:978:8e58:e19f with SMTP id sh6-20020a1709076e8600b009788e58e19fmr14738780ejc.16.1686693432083; Tue, 13 Jun 2023 14:57:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686693432; cv=none; d=google.com; s=arc-20160816; b=Np6qUAOZmsZo5HJIS2lWNMbJ/cqXIpi5AICR6TR7rSFLvCMlQapsir6u2WTZ35QE0g Pn6b7WhPbpNu3vQCDOP/fgZ7Z2lIyDDhnOky5+rkTAwfgWClXZHbqQrz5dpKfwcqGMZp U4JWYOX/m/uGFvE7tjsDwKYz+tgp8PGexfoU9EDuCpbSFSs2p+mENLekrj1lJ8xAygXN JxI3WAVRFcjgEdntPBVW16X1u9pIgdJm+YyR7lmuGwJTtPpumW8F3Un1UXNDRJKi0Z7q P4LRAASmrZ514ft2Ds8DRmfsHkC93JHsFbvlJwZaZhB1gn2U3ihC+p9Cb2xtv8oeOrEr wf+A== 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=/Ssh0udG+9m+h1UfsnNWgjMJf/GSOsW2JFBwF/Vbf7M=; b=CBSJtJ/+AaNqQRRe3oocYGeuYTYWojCANalbNJ7lvduqevpor6CRCAudksnDZ7vc/h 893x/TgAUPcXVbTQUM6RUS13Jas77HwmZg+Sr937HlPHqJwlaczxhnszBUh3VhRKk7Wg Iuuvqv/byJB/XA7tuBie7N0ujN4WgDMcyJUfrnnxr8LNc60175CESCP6NSFyWtD2/B+Q N629JWP4+HfCQ2h4kFJ0ET01ErGSs/rSz9WWNTSrcpgJxD5mJSIas9VGkd+c1fW+Ttoq 5gMIjTIQSEdorvicQB+s1HC+VlUFa9P+2LTmfXXSx9OVvzgvBtwzp5sqy9xVnY/+rEN3 nZRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="Dpygt5k/"; 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 v11-20020a170906858b00b00977e4fd4c05si7546954ejx.459.2023.06.13.14.56.47; Tue, 13 Jun 2023 14:57:12 -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="Dpygt5k/"; 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 S231194AbjFMUx7 (ORCPT + 99 others); Tue, 13 Jun 2023 16:53:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229838AbjFMUx5 (ORCPT ); Tue, 13 Jun 2023 16:53:57 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC7D210F4 for ; Tue, 13 Jun 2023 13:53:56 -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=/Ssh0udG+9m+h1UfsnNWgjMJf/GSOsW2JFBwF/Vbf7M=; b=Dpygt5k/SkbjtdIpPJ3uaJ320A tDkpsNJLl3JAlh43HNRQE6lJfF6ecwBKoEevEI1h7ZWge52KOGyq7ZZCGsmZ2U8/PiZOEH62npk1O IE5PH0nxYg+ElpQeDDyocv/8C+/x8Fpq9e/WymJveTwuqlGLTtrZyAjRpP5pCasj7NM57LqMMhDBp 8z4rtNO1fPeqdVwb3PLd0Jx3n9zgixgyHP/QhKnwMF+8sSexuLc2tD/HWxkqlNw6XhxFdt3UHIE8i wtSBYL1ZfiTM4k6NvmPLH1GD+KOHNuc7q0uTqHYaAvhZDfjt0KGSgFbBSy8Cjv2IaM1EEzFElg5wA G7DFm8RA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1q9B1W-004K5R-Nd; Tue, 13 Jun 2023 20:53:54 +0000 Date: Tue, 13 Jun 2023 21:53:54 +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 2/5] mmzone: Introduce folio_migratetype() Message-ID: References: <20230613201827.9441-1-vishal.moola@gmail.com> <20230613201827.9441-3-vishal.moola@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230613201827.9441-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,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:24PM -0700, Vishal Moola (Oracle) wrote: > Introduce folio_migratetype() as a folio equivalent for > get_pageblock_migratetype(). This function intends to return the > migratetype the folio is located in, hence the name choice. > > Signed-off-by: Vishal Moola (Oracle) Reviewed-by: Matthew Wilcox (Oracle)