[PATCH RESEND] riscv: Add kmemleak support
Tobias Klauser
tklauser at distanz.ch
Fri Jul 3 09:47:30 EDT 2020
Tested using syzkaller in QEMU's riscv64 virt machine.
Cc: Dmitry Vyukov <dvyukov at google.com>
Signed-off-by: Tobias Klauser <tklauser at distanz.ch>
---
Resent due to infradead.org mailing list issues.
arch/riscv/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index a7d7f8184f15..c0834ea1b583 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -55,6 +55,7 @@ config RISCV
select HAVE_ARCH_TRACEHOOK
select HAVE_ASM_MODVERSIONS
select HAVE_COPY_THREAD_TLS
+ select HAVE_DEBUG_KMEMLEAK
select HAVE_DMA_CONTIGUOUS if MMU
select HAVE_EBPF_JIT if MMU
select HAVE_FUTEX_CMPXCHG if FUTEX
--
2.27.0
More information about the linux-riscv
mailing list