summaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2007-09-12 00:24:11 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-09-12 02:21:27 +0200
commitba0268a8b056f2ad846f1f8837a764c21bb6425e (patch)
tree93ab7d2555a98628850dbf917a43ceddef8c980c /drivers/serial
parentrevert "highmem: catch illegal nesting" (diff)
downloadlinux-ba0268a8b056f2ad846f1f8837a764c21bb6425e.tar.xz
linux-ba0268a8b056f2ad846f1f8837a764c21bb6425e.zip
SLUB: accurately compare debug flags during slab cache merge
This was posted on Aug 28 and fixes an issue that could cause troubles when slab caches >=128k are created. http://marc.info/?l=linux-mm&m=118798149918424&w=2 Currently we simply add the debug flags unconditional when checking for a matching slab. This creates issues for sysfs processing when slabs exist that are exempt from debugging due to their huge size or because only a subset of slabs was selected for debugging. We need to only add the flags if kmem_cache_open() would also add them. Create a function to calculate the flags that would be set if the cache would be opened and use that function to determine the flags before looking for a compatible slab. [akpm@linux-foundation.org: fixlets] Signed-off-by: Christoph Lameter <clameter@sgi.com> Cc: Chuck Ebbert <cebbert@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial')
0 files changed, 0 insertions, 0 deletions