From patchwork Thu Jul 25 02:16:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kefeng Wang X-Patchwork-Id: 13741517 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63255C3DA63 for ; Thu, 25 Jul 2024 02:16:56 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C4EFA6B0089; Wed, 24 Jul 2024 22:16:55 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BD8446B008C; Wed, 24 Jul 2024 22:16:55 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A79FF6B0092; Wed, 24 Jul 2024 22:16:55 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 8866B6B0089 for ; Wed, 24 Jul 2024 22:16:55 -0400 (EDT) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id F3EA440D22 for ; Thu, 25 Jul 2024 02:16:54 +0000 (UTC) X-FDA: 82376661948.23.214F8D9 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by imf20.hostedemail.com (Postfix) with ESMTP id 978851C0005 for ; Thu, 25 Jul 2024 02:16:51 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf20.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1721873765; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=pmHKADDI3K3BLWp3CnfS0QYg6q2CCDCWaKfelSCv+LQ=; b=TZPHWDx/TT7p++sHLTdg/A+Cn5rX/GcqctvFG4YLPVSLQToacMvox2LYTUXZYhyXYGps+c aftHHC1z9mFq8x1T8ZFxEYz4aY8nkFZIfg/two/UL1x22x3YOmYJyE0xKGriS0prH5ylwO 25mvjwZ+9YZQxu7ciatoo9qCZAu1Rwk= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1721873765; a=rsa-sha256; cv=none; b=XFu9tT7PTBdNUrm5StTkHtzTarn3eZ92o41D25gGCq8fmD1wKsl/JBfUk7OWPfK87ANdvl fDsY5SDNRNHnLG5w0udshR53r4jXWrlVPmV1t1EViEB40vuIAdOfHfuYDfmmIhZpsGD34E riH+Ijhk8j69RoIjiWJ5BS2g0uVMz8A= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf20.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com Received: from mail.maildlp.com (unknown [172.19.163.252]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4WTvXC70G4zyNRd; Thu, 25 Jul 2024 10:11:55 +0800 (CST) Received: from dggpemf100008.china.huawei.com (unknown [7.185.36.138]) by mail.maildlp.com (Postfix) with ESMTPS id 48468180088; Thu, 25 Jul 2024 10:16:47 +0800 (CST) Received: from localhost.localdomain (10.175.112.125) by dggpemf100008.china.huawei.com (7.185.36.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 25 Jul 2024 10:16:46 +0800 From: Kefeng Wang To: Muchun Song CC: Andrew Morton , , Kefeng Wang Subject: [PATCH] mm: hugetlb: remove left over comment about follow_huge_foo() Date: Thu, 25 Jul 2024 10:16:43 +0800 Message-ID: <20240725021643.1358536-1-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-Originating-IP: [10.175.112.125] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemf100008.china.huawei.com (7.185.36.138) X-Rspamd-Queue-Id: 978851C0005 X-Stat-Signature: r15x9ph199k1nkj9qti366yim7oroe7t X-Rspamd-Server: rspam09 X-Rspam-User: X-HE-Tag: 1721873811-667177 X-HE-Meta: U2FsdGVkX19QaZZ5OPG1hW0w3U+0X6/ZV9wny45kb22R0V8uMZ9HDHoK649Zo5sA2PAYjIUdGU2Jx9RL6zeBW7oUBq99tluD2GpUIdmTEC5SH+Sa69DBMehwpxlTpUuB/nEXrpxgU+gG375tl16lUbATUtDGwvzF2HmZ7IDbUnXTPWTMB9XcvHjNOYDsSxg8WPpTAflKqpqUQznYTlEq7dGdF0acwl2+ua/EpjzHZoTX1Jxwv6VZAORgEEKHr0aIKGRoYhNiH9Q77QJsDyNTAOGuY4NBW/70gtc7/qVchJtiGUn2bvbY81Ueo29g++tmqHPiGLsWMAmCvrYyYgtyN/qrMg5Y00RtKvoQ69HUai1Y7nUOnehHE/g0C+bW9mCIHVO5jw7De7HqVfGPgTCH2oUeOI9QdyGqjG3s5LLJ0Ue5fJg0juR/9h4qFvUlCM2cScdpOnRrq9ewIVRStWYLjCvYwoRKVTE0qbK/DCaB5tKn7lsT0F6vBswS9Jo3K+gU8pipeJlnaFJCmqIgKFVrbi/8kFAxPbLaMouo3NJmL0AgIRE2EwvLlCMvuAxcFpu6D87IidhMoObFstl73siFB6Uh7d3G360hKogD4vj5UoXnK/crh1HV3Gr8b2ygx0tGsaQUotgeZwDkrqU7eEcfXQ6J8goP4kO8grbmfKPCm6C3HmTJ+tzWYK9crnuwTOE5/NjOi/iIZa+sfLJTjXOsFhIUTm/KPnks+AJzBYVjHLuTDCHg6toLirPJ74xLd1ofpq2tTH4An67tMyQdGiZiZEJV9l9gAuDpRfLO1M4i2nqLYYKuu6mtj/hK0OuoWdqAcXLId95TC9R3msQM18XpEIIrXmOmj4EPPTxgCce3IBER6fbbvvxvTVIkM1RWJ58RK0UObA73myQB7sVzAISWaAKIJ9Qm+ZxlhyU4erNVP/kk6MjpsfrSxnmIBH/bEytQRK+1S++VHSeirMpCKnH +ef0bNaE KXCA5qFsF0pvbJUx2ErIGPRxy+/Da4tXBx5WuciUml1OLn2tJSPxar92M6CDe2uDeGnOCN0EYqs2gglD33orOnwHPxYcICENcs++8C3QtvzRGWYZJzkeluAxCGAYsYYIGMweNRY9NgDHgqPv4DLL7HA535tc5P50PIguXrp9GYQxNdRH92f+0RDVApeuRs/+HZpI9 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: The comment is useless after commit 57a196a58421 ("hugetlb: simplify hugetlb handling in follow_page_mask") since all follow_huge_foo() are killed. Signed-off-by: Kefeng Wang Reviewed-by: Muchun Song Reviewed-by: David Hildenbrand Reviewed-by: Vishal Moola (Oracle) --- mm/hugetlb.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 0858a1827207..ba176240f764 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -7503,10 +7503,6 @@ __weak unsigned long hugetlb_mask_last_page(struct hstate *h) #endif /* CONFIG_ARCH_WANT_GENERAL_HUGETLB */ -/* - * These functions are overwritable if your architecture needs its own - * behavior. - */ bool isolate_hugetlb(struct folio *folio, struct list_head *list) { bool ret = true;