Messages in this thread | | | Date | Tue, 26 Jan 2016 09:00:20 -0600 (CST) | From | Christoph Lameter <> | 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.
| |