Message ID | 20231013085603.1227349-16-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 E2646CDB483 for <linux-mm@archiver.kernel.org>; Fri, 13 Oct 2023 08:58:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 260788E0017; Fri, 13 Oct 2023 04:58:36 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 178808E0018; Fri, 13 Oct 2023 04:58:36 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E69D78E0010; Fri, 13 Oct 2023 04:58:35 -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 CD3458E0017 for <linux-mm@kvack.org>; Fri, 13 Oct 2023 04:58:35 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id A9109801CA for <linux-mm@kvack.org>; Fri, 13 Oct 2023 08:58:35 +0000 (UTC) X-FDA: 81339837390.01.02613EE Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by imf29.hostedemail.com (Postfix) with ESMTP id 940F612001F for <linux-mm@kvack.org>; Fri, 13 Oct 2023 08:58:33 +0000 (UTC) Authentication-Results: imf29.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf29.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.188 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=1697187514; 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=J7hLCzxP+vfH5k3zHwo4He37UOBmYzrfi4mtBVqDm2w=; b=5Mv6c0ZLRKXUSDelneS4TvjKQ9tpH0OeqsWez1wp+vyQ4f/Vxlbw5sXm6OTuj8Y3txZlDn qzLRFPOLGjyhaKG5Bha8QOakpxGywAJ0h+2CYlytaj1DRp/6At5NvITrNmV38Mx+tfRi53 9BHU4ZPkup63b+siKvki/IF6EHgJYHA= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf29.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1697187514; a=rsa-sha256; cv=none; b=Pa1jLL/twiIGZfnJ3cDJl7hk9AfjKu8qPOAZAmdTDMQpa0dFiNyXjAFw8D7ILR6tZ/1+6R oIB2V71ECyi3NChvVj7TCRabiOaP+VUwyrj3tPqjJGA4L6Lg7WPWfpwnl4aA2DysTt3WeD /B4kHzxEEbHMgmYPK4Bw2psp0yJwWh8= Received: from dggpemm100001.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4S6L1F2x25zVlVS; Fri, 13 Oct 2023 16:54:57 +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; Fri, 13 Oct 2023 16:58:29 +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 -next v2 15/19] mm: huge_memory: use folio_xchg_last_cpupid() in __split_huge_page_tail() Date: Fri, 13 Oct 2023 16:55:59 +0800 Message-ID: <20231013085603.1227349-16-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20231013085603.1227349-1-wangkefeng.wang@huawei.com> References: <20231013085603.1227349-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: dggems704-chm.china.huawei.com (10.3.19.181) To dggpemm100001.china.huawei.com (7.185.36.93) X-CFilter-Loop: Reflected X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: 940F612001F X-Stat-Signature: 8ho4mu5th1niis5wa8wxnehpfgckceta X-Rspam-User: X-HE-Tag: 1697187513-687360 X-HE-Meta: U2FsdGVkX19fkXCvmPhJ/3v6etADr9XFZ/eSscPC9l/iU25zNwFhv7jqGwYqrg84XjmEJlDW40Bbb1NPrYCeFyN7sih/9M5jv+MW12NQ8yuAUzA5YGA/SLra4rDM0KtbYp7YyA0c0VbyQ7IVipTjISUeYo+k9d4nlpa5BCew8tywmqLcMj5RQdUQ5cWkBg6mluckR+YgFGynFhTsxsNHa6C5NWFzodkhmgM6HB8GGixfHa+wFTGY7L1hkkhMQF7wWiiuETFfW4TEBS+AxCv8dymNPF7twGt2ijEYA1dGS7InRayBelxW5XV/3NW+yxqb2mvDGlT1aMwIfySTrJ8Uo/JaPXQQZ8WfL4GkEdVirWI6639i/wWblQpTkjC0Ew0rz6MgJgsL3picc1kj1h70an9Do1AYsvKCAecSjSvdDiMxn7ExmEQztjAIcX+WmN4QUd2O8Hs8M3BHQS5e8aEyU+B7VDa9yNsc+l2T4KbUsSt3aLKQAeeHSi/XVnkMRoZowZUhOinXtN0M4IP7kdZnRUlGc17PYU4v6p4YlI8GB4cvICvjPeOH50IpcdIwUKwse96fcGsI8X4SSKz94ON+5B+feVC/MJjopGHZs6n2JcOPpHWnxw5xmrdYUkwyaiTW1TtUK98PyQwJj/EHsgxv/9ANjM8t3YzQKvwpXhojhsTj/zQtwTlT4u9qpz6VaOUk6JataFkFKEG5vXG7dcEs2aRvZBbzbX24FegesFacc9SGPWSzYtB+G5dEJFDf9vnI0UDWY/MaEqGd2HJb89AYiBy+9d1+e/IRtyhonHLRkZqpsblo3h0j7MzzhBgMPpFbfJ1Od1DeBjOCOcrk7yb+KW+8zvaa+3zbYFTpziWO5gr/+gW5VC7cN3WelnxAyDcFfdIOroD+3aki/bYO1fZuYyG1z2vrqRj9LqLSjHst5x7HNb02S4aMff7yV2ilLC/1MTOy1q21GhlgEhRd389 wH2aEFrr f1IRpP8EsgEAuA29SR1x3NjrV3OpPn1CuQ6lbuY4XEQKjqzw1VgiAtilHI8eVbeXv5TcrwTvt5Iyzi0+kJW7ozob4M9bH9INMMcyUtx4PrkZ4uZAG6skgr1Sfezt35SBYfpbvWBYLyC2uq4WwfLsqucdra530ZmComArTJoYn7IufY423JU+/7FJCX/IWwl3dbHaP 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 f01f345141da..f31f02472396 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -2515,7 +2515,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, folio_last_cpupid(folio)); + folio_xchg_last_cpupid(new_folio, folio_last_cpupid(folio)); /* * always add to the tail because some iterators expect new
Convert to use folio_xchg_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(-)