OSDN Git Service

riscv: Select HAVE_ARCH_USERFAULTFD_MINOR
authorSamuel Holland <samuel.holland@sifive.com>
Sat, 24 Jun 2023 06:03:20 +0000 (23:03 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 6 Jul 2023 17:30:16 +0000 (10:30 -0700)
commita2492ca86c98f676561f7d318b1e2e1786af0caf
tree413a11ca1c9a207fd21d74e5dc5d578e7a664e4b
parent5177978ee074d55577aabad7c42b431e8af68fcc
riscv: Select HAVE_ARCH_USERFAULTFD_MINOR

This allocates the VM flag needed to support the userfaultfd minor fault
functionality. Because the flag bit is >= bit 32, it can only be enabled
for 64-bit kernels. See commit 7677f7fd8be7 ("userfaultfd: add minor
fault registration mode") for more information.

Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Link: https://lore.kernel.org/r/20230624060321.3401504-1-samuel.holland@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig