aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2024-05-14 12:24:18 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2024-05-14 12:24:18 +0800
commitd0b35b024725fda19c44f7144dd35d13c7e920ba (patch)
treeec01abc154ac6881b31ef244b9f3919d14327261
parentLoongArch: Select ARCH_SUPPORTS_INT128 if CC_HAS_INT128 (diff)
downloadwireguard-linux-d0b35b024725fda19c44f7144dd35d13c7e920ba.tar.xz
wireguard-linux-d0b35b024725fda19c44f7144dd35d13c7e920ba.zip
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 '')
-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