[lkml]   [2021]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH -next v2] riscv: Enable KFENCE for riscv64
On Tue, 15 Jun 2021 at 04:35, Liu Shixin <> wrote:
> Add architecture specific implementation details for KFENCE and enable
> KFENCE for the riscv64 architecture. In particular, this implements the
> required interface in <asm/kfence.h>.
> KFENCE requires that attributes for pages from its memory pool can
> individually be set. Therefore, force the kfence pool to be mapped at
> page granularity.
> Testing this patch using the testcases in kfence_test.c and all passed.
> Signed-off-by: Liu Shixin <>
> Acked-by: Marco Elver <>
> Reviewed-by: Kefeng Wang <>

I can't see this in -next yet. It would be nice if riscv64 could get
KFENCE support.

-- Marco

 \ /
  Last update: 2021-06-16 11:12    [W:0.046 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site