summaryrefslogtreecommitdiff
path: root/Documentation/auxdisplay
diff options
context:
space:
mode:
authorGrygorii Maistrenko <grygoriimkd@gmail.com>2017-02-22 23:40:59 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-21 15:21:36 (GMT)
commit076a6220bc0198983432704e03ed993b2230ba7b (patch)
tree7047137107cf1d6c5fe587cb5cc45be3aee1e5d4 /Documentation/auxdisplay
parent2ada592fc8e53998c7b383af23e2e794bfe571bf (diff)
downloadlinux-076a6220bc0198983432704e03ed993b2230ba7b.tar.xz
slub: do not merge cache if slub_debug contains a never-merge flag
[ Upstream commit c6e28895a4372992961888ffaadc9efc643b5bfe ] In case CONFIG_SLUB_DEBUG_ON=n, find_mergeable() gets debug features from commandline but never checks if there are features from the SLAB_NEVER_MERGE set. As a result selected by slub_debug caches are always mergeable if they have been created without a custom constructor set or without one of the SLAB_* debug features on. This moves the SLAB_NEVER_MERGE check below the flags update from commandline to make sure it won't merge the slab cache if one of the debug features is on. Link: http://lkml.kernel.org/r/20170101124451.GA4740@lp-laptop-d Signed-off-by: Grygorii Maistrenko <grygoriimkd@gmail.com> Reviewed-by: Pekka Enberg <penberg@kernel.org> Acked-by: David Rientjes <rientjes@google.com> Acked-by: Christoph Lameter <cl@linux.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> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/auxdisplay')
0 files changed, 0 insertions, 0 deletions