Re: [PATCH v2 6/8] x86/kaslr: Simplify process_gb_huge_pages
From: Kees Cook
Date: Tue Jul 28 2020 - 16:13:54 EST
On Tue, Jul 28, 2020 at 03:45:11PM -0400, Arvind Sankar wrote:
> But the IS_ENABLED check allows the compiler to eliminate the entire
> function at compile time.
Ah, I thought it'd be a const false, which would do the same...
--
Kees Cook