Message ID | 20231018140806.2783514-6-wangkefeng.wang@huawei.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 F07A4C41513 for <linux-mm@archiver.kernel.org>; Wed, 18 Oct 2023 14:09:59 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E8B5A80072; Wed, 18 Oct 2023 10:09:42 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E14698006D; Wed, 18 Oct 2023 10:09:42 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D055E80072; Wed, 18 Oct 2023 10:09:42 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id BCBED8006D for <linux-mm@kvack.org>; Wed, 18 Oct 2023 10:09:42 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 864ACC0280 for <linux-mm@kvack.org>; Wed, 18 Oct 2023 14:09:42 +0000 (UTC) X-FDA: 81358765404.15.A74043D Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by imf11.hostedemail.com (Postfix) with ESMTP id B614C40024 for <linux-mm@kvack.org>; Wed, 18 Oct 2023 14:09:38 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=none; spf=pass (imf11.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1697638180; 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:in-reply-to:references:references; bh=0YHxzJua+p5mlcs/k2mq03WYuq2lzIWkVKq0L7/b+fw=; b=kGm8L8QV36jHAGvYp7Ccn5N5IPSNkzHXygg/ck2g1TUOoGQXY9K0qv0kNXIO4NV/uN2GUk aJJRlsoTNIuiH6A4IuxEjnC0KucZNWyZ8gvV2PLXPAhSXL+l9gTgBpEUsKioDMRNEgX5JA uGyqey3hfywfNKLdDLFk6K3m9Ih4mKs= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1697638180; a=rsa-sha256; cv=none; b=rA2dhDfKO7/0m73+7KFQ0r6hQw/blOA2kNq7KTRFw4hEIZcVySuqtYCSmcpz7jr6FozQ0b VOfs+lslUNNmT+9ORp8M8Z8BrvCXdVxtHWuksZQI5v+gtBPR/QRrwWkf2OBduCBm+EOgJy 2iJWSwMUGXS2c+8J5WWtN3NPcwjIF68= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=none; spf=pass (imf11.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com Received: from dggpemm100001.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4S9Xg561TqzRt3s; Wed, 18 Oct 2023 22:05:21 +0800 (CST) Received: from localhost.localdomain (10.175.112.125) by dggpemm100001.china.huawei.com (7.185.36.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Wed, 18 Oct 2023 22:09:01 +0800 From: Kefeng Wang <wangkefeng.wang@huawei.com> To: Andrew Morton <akpm@linux-foundation.org> CC: <willy@infradead.org>, <linux-mm@kvack.org>, <linux-kernel@vger.kernel.org>, <ying.huang@intel.com>, <david@redhat.com>, Zi Yan <ziy@nvidia.com>, Ingo Molnar <mingo@redhat.com>, Peter Zijlstra <peterz@infradead.org>, Juri Lelli <juri.lelli@redhat.com>, Vincent Guittot <vincent.guittot@linaro.org>, Kefeng Wang <wangkefeng.wang@huawei.com> Subject: [PATCH v3 05/19] mm: huge_memory: use folio_last_cpupid() in __split_huge_page_tail() Date: Wed, 18 Oct 2023 22:07:52 +0800 Message-ID: <20231018140806.2783514-6-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20231018140806.2783514-1-wangkefeng.wang@huawei.com> References: <20231018140806.2783514-1-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.175.112.125] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggpemm100001.china.huawei.com (7.185.36.93) X-CFilter-Loop: Reflected X-Stat-Signature: s453tuob9gpdqgpqqd9qrmsckx1kcu9f X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: B614C40024 X-Rspam-User: X-HE-Tag: 1697638178-168289 X-HE-Meta: U2FsdGVkX19r5yxTzOJYxmhIreF3FSF0JoePkcEW+iJm6QuIITcfbUtG5OaHVnMhtGhyZmTLdVA7mmvAC1fQD4yw4WQP7bYVTKKqimeeyH1s2K+fMlZAWbg5s0J0Bzv0+i1Sh6p/4qyuTZJO/7mn8zzKMeiI5Zo09M4lvhUkIkvUJgj7ueCdHJ3nEBRRr1se0zNXbimDTJMHxxxm6ouu5yPl0HYzveCRVXCUPV7kSFtIgMv0l8hqyTnTBHST8P5QcEK3w1Q+pZQR0TiDHhviynGBsjFXW9FY/ehGheZqa3k3bImT+Ezsj2fbj4MtoFDrlyfta/2TYxP3L7LcBZhVJWX2SBHx9Fwldg8qoaWgEP/xAbVp3kdqJZUcD32EaGRv+PafCZ6t0/5YUkAnvwMvBjlyJ6TJV1KPH9zvqrp2KzTxVqNX9chJ7yS+nrHDC1IpOdFs5dbFtdmLwAtiiVTnutIimkCjQRdG2dbdhrNO2JReLRGTiLuy060BAh8/e7RY+M4MZwafEyr4Rg8fr+m/oqiCoz88Y7XUJqvd5BG5jGQg0C2sPRCdZrlxg3SG2qtQxuAi3CSzuZO7x+UofchaH1UPvXqRihjWd448IUrfgIQP7jlMYTV1bAXhhEJSUN7OA9eq4ZKd9LVoUGFE3yK/hPCVcFC4h+3BxrkCcp9cJ4KsHTFJ6BSVQ6qgXRu6hfxvBHv80IxBBJ5CqwuCdmxkZxcjd7SOC8WF++rACCKIiOkg6vYAhXA9bTjZGVmhmvdziRhiYO2NLKqwYnUe93+36gI64dxqgpHpxUIrKdoBK997HeBKXz4Vu+TOmMwj7YCCg23Fnr8vy5OnnBLugti3h0TRePez2hukpN6d2qRe6/yxHLfQO2jwUbWMcSdUrSsLsoww8yRl5yHOsyg7mA9LQXrtHASXKKB8S8GpFw76UJx7zPXO/792c9ByWOgQjLGVSsFtUByS707KrXb0VPR Acc1KAiH uvGhPnBIV2JpH6kOhRXsE3e5GrxUtTQmKU61aADjGfL+zBY3G5i5y8VmdtNqRsc3TJoGV148Nhie+EQcPTMEg5kovQaN2liuNxiHRZAKaU4IUNO36f0f/LOA5Rg6echZxsTt8fMV/zWRR7ITHa6sqFcg3L50gmqPXpXjF3VHiLk63+yreRoe82hge96rB/eOq7I0R 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: <linux-mm.kvack.org> |
Series |
mm: convert page cpupid functions to folios
|
expand
|
diff --git a/mm/huge_memory.c b/mm/huge_memory.c index f9571bf92603..5455dfe4c3c7 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -2514,7 +2514,7 @@ static void __split_huge_page_tail(struct folio *folio, int tail, if (page_is_idle(head)) set_page_idle(page_tail); - page_cpupid_xchg_last(page_tail, page_cpupid_last(head)); + page_cpupid_xchg_last(page_tail, folio_last_cpupid(folio)); /* * always add to the tail because some iterators expect new
Convert to use folio_last_cpupid() in __split_huge_page_tail(). Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> --- mm/huge_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)