Date: Tue, 26 Jan 2016 09:00:20 -0600 (CST) From: Christoph Lameter <cl@...ux.com> To: Laura Abbott <labbott@...oraproject.org> cc: Pekka Enberg <penberg@...nel.org>, David Rientjes <rientjes@...gle.com>, Joonsoo Kim <js1304@...il.com>, Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org, linux-kernel@...r.kernel.org, kernel-hardening@...ts.openwall.com, Kees Cook <keescook@...omium.org> Subject: Re: [PATCH 3/3] slub: Add option to skip consistency checks On Mon, 25 Jan 2016, Laura Abbott wrote: > SLUB debugging by default does checks to ensure consistency. > These checks, while useful, are expensive for allocation speed. > Features such as poisoning and tracing can stand alone without > any checks. Add a slab flag to skip these checks. I would suggest to rename the SLAB_DEBUG_FREE to SLAB_CONSISTENCY_CHECKS instead. I think the flag is already used that way in a couple of places. Flags generally enable stuff. Disabling what is enabled by others is something that we want to avoid for simplicities sake.
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.