[PATCH 2/3] gfp: mm: introduce __GFP_NOINIT

Dave Hansen dave.hansen at intel.com
Tue Apr 23 20:40:19 UTC 2019


On 4/23/19 12:14 PM, Kees Cook wrote:
>> These sl*b ones seem like a bad idea.  We already have rules that sl*b
>> allocations must be initialized by callers, and we have reasonably
>> frequent bugs where the rules are broken.
> 
> Hm? No, this is saying that the page allocator can skip the auto-init
> because the slab internals will be doing it later.

Ahhh, got it.  I missed all the fun in patch 1.



More information about the Linux-security-module-archive mailing list