Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1318022

Re: [PATCH 3/3] slub: Add option to skip consistency checks

From Christoph Lameter <cl@linux.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] slub: Add option to skip consistency checks
Date 2016-01-26 16:10 +0100
Message-ID <qVdpM-5RZ-9@gated-at.bofh.it> (permalink)
References <qV0sy-46L-5@gated-at.bofh.it> <qV0sy-46L-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 3/3] slub: Add option to skip consistency checks Laura Abbott <labbott@fedoraproject.org> - 2016-01-26 02:20 +0100
  Re: [PATCH 3/3] slub: Add option to skip consistency checks Christoph Lameter <cl@linux.com> - 2016-01-26 16:10 +0100

csiph-web