From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E607DEB64DA for ; Tue, 13 Jun 2023 20:54:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236062AbjFMUyA (ORCPT ); Tue, 13 Jun 2023 16:54:00 -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> 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)