init_on_alloc/init_on_free boot options
Jirka Hladky
jhladky at redhat.com
Wed Aug 19 22:18:33 UTC 2020
Hi Alex,
Could you please help me to clarify the purpose of init_on_alloc=1
when init_on_free is enabled?
If I get it right, init_on_free=1 alone guarantees that the memory
returned by the page allocator and SL[AU]B is initialized with zeroes.
What is the purpose of init_on_alloc=1 in that case? We are zeroing
memory twice, or am I missing something?
Thanks a lot!
Jirka
More information about the Linux-security-module-archive
mailing list