[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210616083745.14288-2-janghyuck.kim@samsung.com>
Date: Wed, 16 Jun 2021 17:37:42 +0900
From: Janghyuck Kim <janghyuck.kim@...sung.com>
To: unlisted-recipients:; (no To-header on input)
Cc: janghyuck.kim@...sung.com,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Palmer Dabbelt <palmerdabbelt@...gle.com>,
Atish Patra <atish.patra@....com>,
Jonathan Cameron <Jonathan.Cameron@...wei.com>,
Zhengyuan Liu <liuzhengyuan@...kylinos.cn>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org
Subject: [PATCH 2/2] arm64: numa: support numa_off_fastpath
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@...sung.com>
---
arch/arm64/include/asm/numa.h | 4 ++++
1 file changed, 4 insertions(+)
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 */
--
2.28.0
Powered by blists - more mailing lists