summaryrefslogtreecommitdiff
path: root/arch/loongarch
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2024-05-14 07:24:18 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2024-05-14 07:24:18 +0300
commitd0b35b024725fda19c44f7144dd35d13c7e920ba (patch)
treeec01abc154ac6881b31ef244b9f3919d14327261 /arch/loongarch
parent5125d033c8af733ee4d52e3e3c6ebf5784976e46 (diff)
downloadlinux-d0b35b024725fda19c44f7144dd35d13c7e920ba.tar.xz
LoongArch: Select ARCH_WANT_DEFAULT_BPF_JIT
BPF JIT has better performance and more secure than BPF interpreter, so enable it by default, as most other architectures done. Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch')
-rw-r--r--arch/loongarch/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig
index 335a98b28167..24bce573dc2b 100644
--- a/arch/loongarch/Kconfig
+++ b/arch/loongarch/Kconfig
@@ -65,6 +65,7 @@ config LOONGARCH
select ARCH_USE_CMPXCHG_LOCKREF
select ARCH_USE_QUEUED_RWLOCKS
select ARCH_USE_QUEUED_SPINLOCKS
+ select ARCH_WANT_DEFAULT_BPF_JIT
select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT
select ARCH_WANT_LD_ORPHAN_WARN
select ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP