23 lines
737 B
Plaintext
23 lines
737 B
Plaintext
|
# SPDX-License-Identifier: GPL-2.0
|
||
|
|
||
|
config USING_FPU_IN_KERNEL_NONATOMIC
|
||
|
bool "Support using fpu instructions in kernel non-atomic context"
|
||
|
depends on X86_64 && CPU_SUP_HYGON
|
||
|
help
|
||
|
When this feature is enabled, we can use fpu instructions in kernel
|
||
|
non-atomic context.
|
||
|
|
||
|
config USING_SSE2_FOR_LARGE_MEMORY_COPY
|
||
|
bool "Using sse2 nt copy for large memory copy"
|
||
|
depends on USING_FPU_IN_KERNEL_NONATOMIC
|
||
|
help
|
||
|
When this feature is enabled, we will using copy_user_sse2_nt_string
|
||
|
for lagre memory copy.
|
||
|
|
||
|
config USING_AVX2_FOR_LARGE_MEMORY_COPY
|
||
|
bool "Using avx2 nt copy for large memory copy"
|
||
|
depends on USING_FPU_IN_KERNEL_NONATOMIC
|
||
|
help
|
||
|
When this feature is enabled, we will using copy_user_avx2_nt_string
|
||
|
for lagre memory copy.
|