]> git.baikalelectronics.ru Git - kernel.git/commit
slub: disable tracing and failslab for merged slabs
authorChristoph Lameter <cl@linux.com>
Thu, 9 Oct 2014 22:26:11 +0000 (15:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Oct 2014 02:25:51 +0000 (22:25 -0400)
commit0da3f0e89b9c4aefa8caa63a2dcf51d66cb0e19c
treed0a92993d7077e883459e49c3971bde51116bcb7
parent6b5a7a285a1dc4fc1f673fff79417f76aa27f291
slub: disable tracing and failslab for merged slabs

Tracing of mergeable slabs as well as uses of failslab are confusing since
the objects of multiple slab caches will be affected.  Moreover this
creates a situation where a mergeable slab will become unmergeable.

If tracing or failslab testing is desired then it may be best to switch
merging off for starters.

Signed-off-by: Christoph Lameter <cl@linux.com>
Tested-by: WANG Chao <chaowang@redhat.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slub.c