Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2196533iob; Thu, 5 May 2022 18:42:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6EtDtFD2hvvjU3jfy3C/SbXwa5LTfd3cXgF7vbC2xgaAmWXE/lKn+s3SVTOBZQF1yYIOD X-Received: by 2002:aa7:cd7c:0:b0:425:e59d:7353 with SMTP id ca28-20020aa7cd7c000000b00425e59d7353mr1068118edb.365.1651801325292; Thu, 05 May 2022 18:42:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651801325; cv=none; d=google.com; s=arc-20160816; b=NUbHngIhwjN47gBhum8OYwZdcv2ltPcQGGNqv0NC7uEeZE9es3HMUrE1NdxTYmPi8t X+fmwi6zK6BWRs4jgtgKw2mlEquauhxnEGoT3xbWDJUhndrgMzB81+h77aw29F6DIu8r F6Kt8M/MfGIznpz+gt77iK2EPiViogyL3NUDmg94Qir7V5rGaN9xjSt6plDXB44Jq0rR t1KxQosOK0N0pf2pHhdqFXqCRvLiopnmZ0krtNp2OjXTN8WllnKHWBdYCBUDDnpHHdPP pZkLKAi9gzTqoYZrDL4YPwMSO5xQDWOP32BpuT/5X968DZU6i7DqQxq4dPrkvNkBXZ/Q 68hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=XvccxcLH5cVNGsLV9lWxjBCcCynVJdRfwHDwgoossHw=; b=woRtO/o0GtsaOTmK0BZabbcW4Z72pNHTF1wVMfEu31lU+SD6fv45tXSS8lcPtMfbCj lmWGKpHeutsDWIWKWcimzcvNjq+P6q5PeJVsx/+CzOBbHqDTuLneIpdZD5fcPSqwPaNQ sk5plSwlu54MUc+i0LgstzvEnej4XR5CY58Gnby4/OeNk+oc+FIs03E7b8RcCNlX5Vzg yhRAiUZrAbzHtR1nJnarnWP/jK+J82oFTMW7bczyFETQl3zx73t+qNEN+u+Ds0VzyuTG xi+/aT6EUWsQo9qfAkBR9zvieeFNWAVYLsA8o+EGkx8D63IJ6tSw0jUz7sRNcvVDzhC4 hZSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UGtRSvRk; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n22-20020aa7c456000000b004209bf38807si3131627edr.371.2022.05.05.18.41.42; Thu, 05 May 2022 18:42:05 -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=@kernel.org header.s=k20201202 header.b=UGtRSvRk; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377815AbiEDULu (ORCPT + 99 others); Wed, 4 May 2022 16:11:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245750AbiEDULq (ORCPT ); Wed, 4 May 2022 16:11:46 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71652220F2 for ; Wed, 4 May 2022 13:08:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0D3B9B8278E for ; Wed, 4 May 2022 20:08:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44497C385A4; Wed, 4 May 2022 20:08:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651694887; bh=FszPMrkUR8iR4oaqeA8GMiDU4Uhf7c3OI7I4qlR7I1o=; h=From:To:Cc:Subject:Date:From; b=UGtRSvRkBhB3r157OJ1djQrrAEH2E0aQKPlJP6FahBcQ9f2HT+DXCRoTgbxKIXZKk +FI5Qx/MDWCvq98QFEs9xUI/ZGD3IyBmdzaRiLZnIfv1SR6vTa6BRnaXmGH1D71a76 OIeaHR1idLsIHr5bvDWyQGynHbNkCX35Ce2/RGvIGTfzBOXPU7ZpdPS8NwZQa6MfrJ CHs+JwP3/QtmyTOZXhr3gRTH/fSCrb1ndbDerSkQWe06xx5TE40JvwIoE947AXswnQ knIpEUJ1pmDt8D7I7NUWbFeqBnAOXbJ2rQIIIBL9nhGTJAjuVcS92HEqnjcEO6jt6S Ygj0tn4miefJg== From: SeongJae Park To: akpm@linux-foundation.org, willy@infradead.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH for mm-unstable 0/3] Fix build errors due to folio_test_large() misuse Date: Wed, 4 May 2022 20:07:55 +0000 Message-Id: <20220504200758.314478-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Several commits on 'mm-unstable' replaces 'PageTransHuge()' with 'folio_test_large()' instead of 'folio_test_transhuge()'. As a result, several build errors occur when 'CONFIG_TRANSPARENT_HUGEPAGE' is unset. This patchset fixes the issues by replacing the check to use 'folio_test_transhuge()'. SeongJae Park (3): mm/vmscan: Use folio_test_transhuge() for THP check mm/shmem: Use folio_test_transhuge() for THP check mm/shmem: Use folio_test_transhuge() for THP check mm/shmem.c | 8 ++++---- mm/vmscan.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) -- 2.25.1