Re: [PATCH RFC 03/10] arm64, kfence: enable KFENCE for ARM64

From
Marco Elver <elver@google.com>
Date
2020-09-09 17:07:51
Also in
linux-arm-kernel, linux-mm, lkml
Reply to
Marco Elver, 2020-09-07
Hello arm64 maintainers,

On Mon, 7 Sep 2020 at 15:41, Marco Elver [off-list ref] wrote:
Add architecture specific implementation details for KFENCE and enable
KFENCE for the arm64 architecture. In particular, this implements the
required interface in <asm/kfence.h>. Currently, the arm64 version does
not yet use a statically allocated memory pool, at the cost of a pointer
load for each is_kfence_address().
For ARM64, we would like to solicit feedback on what the best option is
to obtain a constant address for __kfence_pool. One option is to declare
a memory range in the memory layout to be dedicated to KFENCE (like is
done for KASAN), however, it is unclear if this is the best available
option. We would like to avoid touching the memory layout.
We can't yet tell what the best option for this might be. So, any
suggestions on how to go about switching to a static pool would be
much appreciated.

Many thanks,
-- Marco
Thread (54 messages) 54 messages, 10 authors, last reply 2020-09-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help