|
Message-ID: <alpine.DEB.2.20.1512221207230.14406@east.gentwo.org> Date: Tue, 22 Dec 2015 12:08:17 -0600 (CST) From: Christoph Lameter <cl@...ux.com> To: Dave Hansen <dave.hansen@...el.com> cc: kernel-hardening@...ts.openwall.com, Pekka Enberg <penberg@...nel.org>, David Rientjes <rientjes@...gle.com>, Joonsoo Kim <iamjoonsoo.kim@....com>, Andrew Morton <akpm@...ux-foundation.org>, Laura Abbott <laura@...bott.name>, linux-mm@...ck.org, linux-kernel@...r.kernel.org, Kees Cook <keescook@...omium.org> Subject: Re: [RFC][PATCH 6/7] mm: Add Kconfig option for slab sanitization On Tue, 22 Dec 2015, Dave Hansen wrote: > > Why would you use zeros? The point is just to clear the information right? > > The regular poisoning does that. > > It then allows you to avoid the zeroing at allocation time. Well much of the code is expecting a zeroed object from the allocator and its zeroed at that time. Zeroing makes the object cache hot which is an important performance aspect.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.