Message ID | 20210616083745.14288-2-janghyuck.kim@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=usud=LK=kvack.org=owner-linux-mm@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62DD5C48BE8 for <linux-mm@archiver.kernel.org>; Wed, 16 Jun 2021 08:16:41 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D630C6024A for <linux-mm@archiver.kernel.org>; Wed, 16 Jun 2021 08:16:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D630C6024A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=samsung.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 75F776B0070; Wed, 16 Jun 2021 04:16:40 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 70FB56B0071; Wed, 16 Jun 2021 04:16:40 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 58C496B0072; Wed, 16 Jun 2021 04:16:40 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0046.hostedemail.com [216.40.44.46]) by kanga.kvack.org (Postfix) with ESMTP id 271636B0070 for <linux-mm@kvack.org>; Wed, 16 Jun 2021 04:16:40 -0400 (EDT) Received: from smtpin32.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id BC1B08249980 for <linux-mm@kvack.org>; Wed, 16 Jun 2021 08:16:39 +0000 (UTC) X-FDA: 78258880518.32.5470497 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by imf01.hostedemail.com (Postfix) with ESMTP id 200435001700 for <linux-mm@kvack.org>; Wed, 16 Jun 2021 08:16:27 +0000 (UTC) Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20210616081635epoutp04c44baef915a65b54b88976c2acb21b92~JAgzvv-0q1001910019epoutp04f for <linux-mm@kvack.org>; Wed, 16 Jun 2021 08:16:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20210616081635epoutp04c44baef915a65b54b88976c2acb21b92~JAgzvv-0q1001910019epoutp04f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1623831395; bh=Wjgxu9Mdz8rE2HMaZLgf7AvA24jsz0YnoESyLc9nyMs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f2YZq6rzY6ZyRsW1+8eGquL0neQGNqGRc8aEwiJqCk2huWRNf2vFx4AF75bnW2AE9 ET7Q33epah8+BFdLq5/0VjKxznA2D+hsYIVsNUFnwVIktxg0R7MP/38agKbmth9lUH ZUMFjtFOcpkRFp6zPe3Fzy/7slRgdq5iqm49bFSc= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20210616081634epcas2p4eafd15a8b7e3e9e291e7c9b6bed5d26f~JAgzUYLPW1472814728epcas2p4H; Wed, 16 Jun 2021 08:16:34 +0000 (GMT) Received: from epsmges2p2.samsung.com (unknown [182.195.40.191]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4G4dLn0yn6z4x9Pr; Wed, 16 Jun 2021 08:16:33 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id F0.D3.09694.063B9C06; Wed, 16 Jun 2021 17:16:33 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20210616081632epcas2p46436c362f3d97c9c1fb09dbb11d64ad7~JAgxRhC9g1213112131epcas2p4N; Wed, 16 Jun 2021 08:16:32 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20210616081632epsmtrp2ec4a75c48ffa1c612228aa6686836aca~JAgxQcT2M0773607736epsmtrp2I; Wed, 16 Jun 2021 08:16:32 +0000 (GMT) X-AuditID: b6c32a46-e17ff700000025de-ba-60c9b360c417 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 29.7A.08637.063B9C06; Wed, 16 Jun 2021 17:16:32 +0900 (KST) Received: from Dabang.dsn.sec.samsung.com (unknown [12.36.155.59]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20210616081632epsmtip1ad0fc206d666af9a8ff9ca2a2a954039~JAgxB3P2d1931319313epsmtip1T; Wed, 16 Jun 2021 08:16:32 +0000 (GMT) From: Janghyuck Kim <janghyuck.kim@samsung.com> To: Cc: janghyuck.kim@samsung.com, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Andrew Morton <akpm@linux-foundation.org>, Palmer Dabbelt <palmerdabbelt@google.com>, Atish Patra <atish.patra@wdc.com>, Jonathan Cameron <Jonathan.Cameron@huawei.com>, Zhengyuan Liu <liuzhengyuan@tj.kylinos.cn>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 2/2] arm64: numa: support numa_off_fastpath Date: Wed, 16 Jun 2021 17:37:42 +0900 Message-Id: <20210616083745.14288-2-janghyuck.kim@samsung.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20210616083745.14288-1-janghyuck.kim@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrNJsWRmVeSWpSXmKPExsWy7bCmhW7i5pMJBvf6mS3mrF/DZrFoxXcW i/fLehgtNs8ptli18BqbxabH11gtLu+aw2Zxb81/VovVT86xWmzduI7RouWOqQO3x5p5axg9 Fmwq9Wg58pbVY9OqTjaPTZ8msXucmPGbxWPzknqPvi2rGD0OHbjB6vF5k5xH+4FupgDuqByb jNTElNQihdS85PyUzLx0WyXv4HjneFMzA0NdQ0sLcyWFvMTcVFslF58AXbfMHKCjlRTKEnNK gUIBicXFSvp2NkX5pSWpChn5xSW2SqkFKTkFhoYFesWJucWleel6yfm5VoYGBkamQJUJORk/ u9azFTxjrdj55TZbA+Nnli5GTg4JAROJxhuvgWwuDiGBHYwSbddmsEE4nxglWp6tZ4dwvjFK LPr9hxGm5eztU8wQib2MElsu/4RyvjNK/NjZywpSxSagL9E+9TI7iC0iwCKx8vt3sCXMAguY JRY9/gqU4OAQFrCW2PlbA6SGRUBV4sDeRrB6XgE7iTe/VrFCbJOXeNq7nBnE5hSwl/i/5z0b RI2gxMmZT8CeYAaqad46G+wICYG1HBJ919+xQzS7SKyZ8h7KFpZ4dXwLlC0l8fndXjYIu17i /pIX7BDNExglDixZxgyRMJaY9aydEeRQZgFNifW79EFMCQFliSO3oPbySXQc/ssOEeaV6GgT gmhUl3g3cxMTRFhW4vofc4iwh8SWW5dZIUE1iVHi14ZjTBMYFWYh+WYWkm9mIexdwMi8ilEs taA4Nz212KjACDmGNzGCU7GW2w7GKW8/6B1iZOJgPMQowcGsJMKrW3wiQYg3JbGyKrUoP76o NCe1+BCjKTCsJzJLiSbnA7NBXkm8oamRmZmBpamFqZmRhZI4Lwf7oQQhgfTEktTs1NSC1CK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5fHy67HbRh7QLszceMGf4XH93nZN62e1H/st8qn4c7bHo3TrpOdfdy30v5t+eGfPv R/kZq125fgt+XDo0u0RWZoaXvfI1He7c216uha4VF3qizQ/qS/6LUJ6Yr8l/lq3vjKCZV2FD YpNe+rGTahUGG9Mi9MxffW6teuiicuNp6/2W47tPsRZqXfd9z39ve+a1CwssluXmX1dI/5oy 696i6C87mZ+dvLuiJeH74bvqX6YpRKmmrJye1Wh4/uE24cCurUrWlnfefc6rbZ14ln/KrWwL Fr4jnzwP9oduqV4fLugvLxDyXJbHO/NvvLlt1drYhG+rlViKMxINtZiLihMBJy+LRwgDAAA= X-CMS-MailID: 20210616081632epcas2p46436c362f3d97c9c1fb09dbb11d64ad7 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20210616081632epcas2p46436c362f3d97c9c1fb09dbb11d64ad7 References: <20210616083745.14288-1-janghyuck.kim@samsung.com> <CGME20210616081632epcas2p46436c362f3d97c9c1fb09dbb11d64ad7@epcas2p4.samsung.com> Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=samsung.com header.s=mail20170921 header.b=f2YZq6rz; dmarc=pass (policy=none) header.from=samsung.com; spf=pass (imf01.hostedemail.com: domain of janghyuck.kim@samsung.com designates 203.254.224.34 as permitted sender) smtp.mailfrom=janghyuck.kim@samsung.com X-Stat-Signature: 4mkkcdmksdwgitggxpoxwaqsgu8fie6j X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 200435001700 X-HE-Tag: 1623831387-162977 Content-Transfer-Encoding: quoted-printable 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 |
[1/2] mm: support fastpath if NUMA is enabled with numa off
|
expand
|
diff --git a/arch/arm64/include/asm/numa.h b/arch/arm64/include/asm/numa.h index 8c8cf4297cc3..f7d4e0cb801b 100644 --- a/arch/arm64/include/asm/numa.h +++ b/arch/arm64/include/asm/numa.h @@ -5,4 +5,8 @@ #include <asm/topology.h> #include <asm-generic/numa.h> +#ifdef CONFIG_NUMA +#define numa_off_fastpath() numa_off +#endif /* CONFIG_NUMA */ + #endif /* __ASM_NUMA_H */
NUMA can be disabled forcefully by command line, or no configurations are provided. numa_off_fastpath can become true in this case to skip the memory policy related process to reduce overhead. Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com> --- arch/arm64/include/asm/numa.h | 4 ++++ 1 file changed, 4 insertions(+)