Thread (60 messages) 60 messages, 5 authors, 2021-12-30

Re: [PATCH mm v4 29/39] kasan, page_alloc: allow skipping memory init for HW_TAGS

From: Marco Elver <elver@google.com>
Date: 2021-12-21 12:30:35
Also in: linux-arm-kernel, lkml

On Mon, Dec 20, 2021 at 11:02PM +0100, andrey.konovalov@linux.dev wrote:
[...]
 /* Room for N __GFP_FOO bits */
 #define __GFP_BITS_SHIFT (24 +					\
+			  IS_ENABLED(CONFIG_KASAN_HW_TAGS) +	\
 			  IS_ENABLED(CONFIG_KASAN_HW_TAGS) +	\
 			  IS_ENABLED(CONFIG_KASAN_HW_TAGS) +	\
 			  IS_ENABLED(CONFIG_LOCKDEP))
Does '3 * IS_ENABLED(CONFIG_KASAN_HW_TAGS)' work?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help