Thread (55 messages) 55 messages, 7 authors, 2018-09-19

[PATCH v6 04/18] khwasan, arm64: adjust shadow size for CONFIG_KASAN_HW

From: Andrey Konovalov <hidden>
Date: 2018-09-19 17:27:57
Also in: linux-doc, linux-kbuild, linux-mm, lkml

On Wed, Sep 12, 2018 at 4:54 PM, Dmitry Vyukov [off-list ref] wrote:
On Wed, Aug 29, 2018 at 1:35 PM, Andrey Konovalov [off-list ref] wrote:
quoted
 /*
- * KASAN requires 1/8th of the kernel virtual address space for the shadow
- * region. KASAN can bloat the stack significantly, so double the (minimum)
- * stack size when KASAN is in use.
+ * KASAN and KHWASAN require 1/8th and 1/16th of the kernel virtual address

I am somewhat confused by the terminology.
"KASAN" is not actually "CONFIG_KASAN" below, it is actually
"CONFIG_KASAN_GENERIC". While "KHWASAN" translates to "KASAN_HW" few
lines later.
I think we need some consistent terminology for comments and config
names until it's too late.
As per offline discussion will rename in v7.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help