summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorDave Hansen <dave.hansen@linux.intel.com>2014-01-24 07:20:23 -0800
committerPekka Enberg <penberg@kernel.org>2014-01-31 13:41:26 +0200
commit67b6c900dc6dce65478d6fe37b60cd1e65bb80c2 (patch)
treec6c1b99a3483cd94481d72a35d16fe4243c329cc /mm/slab.c
parent433a91ff5fa19e3eb70b12f7056f234aebd09ac2 (diff)
downloadop-kernel-dev-67b6c900dc6dce65478d6fe37b60cd1e65bb80c2.zip
op-kernel-dev-67b6c900dc6dce65478d6fe37b60cd1e65bb80c2.tar.gz
mm: slub: work around unneeded lockdep warning
The slub code does some setup during early boot in early_kmem_cache_node_alloc() with some local data. There is no possible way that another CPU can see this data, so the slub code doesn't unnecessarily lock it. However, some new lockdep asserts check to make sure that add_partial() _always_ has the list_lock held. Just add the locking, even though it is technically unnecessary. Cc: Peter Zijlstra <peterz@infradead.org> Cc: Russell King <linux@arm.linux.org.uk> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud