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 5C802C001E0 for ; Wed, 2 Aug 2023 12:37:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234509AbjHBMhm (ORCPT ); Wed, 2 Aug 2023 08:37:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234498AbjHBMhl (ORCPT ); Wed, 2 Aug 2023 08:37:41 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B683D2718 for ; Wed, 2 Aug 2023 05:37:37 -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=4ab3GBgwKIO10gaSlc0RTzmhdSzbBvrq8O6cOw4GtT0=; b=iiLAOATKrbDDzwGM0wgHxZ6GSE U5WQgdgmbZXe3Iy1e4WjW7hOQuE1RBjldaZ7XhL32Kd9TkMVDgADECgdZfXu4evOfN2uCDP7eNLl/ GjzQYBxhpedsmyAenLPuLfDdG+HxRpJIeAUiz2gg6I6Pu3GROIN9hrnPXqS2Udrxl4hwNy0S+Sux4 AQSUYC0FAWh7BCDjBAh6vnGRdDir99V8GalYCs26a2jFYsrfDjJQyR8BuCQbGJ1Kuy9t+jCe3W1+c QprGGZajo7oiqPmfPrIcieYtUj8zVZLIB4b2Ip8Bc/reli6NSODXmhbJIHYGtLjeMaJgL1aK5odeB YwCXGZPA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qRB6Y-00EyMw-3l; Wed, 02 Aug 2023 12:37:30 +0000 Date: Wed, 2 Aug 2023 13:37:30 +0100 From: Matthew Wilcox To: Kefeng Wang Cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Huang Ying , David Hildenbrand Subject: Re: [PATCH 4/4] mm: migrate: use __folio_test_movable() Message-ID: References: <20230802095346.87449-1-wangkefeng.wang@huawei.com> <20230802095346.87449-5-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230802095346.87449-5-wangkefeng.wang@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 02, 2023 at 05:53:46PM +0800, Kefeng Wang wrote: > Use __folio_test_movable(), no need to convert from folio to page. > > Signed-off-by: Kefeng Wang In my defence, I did many of these function conversions before __folio_test_movable() existed ;-) Reviewed-by: Matthew Wilcox (Oracle)