aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDave Hansen <dave.hansen@linux.intel.com>2014-01-24 07:20:23 -0800
committerMoyster <oysterized@gmail.com>2016-09-28 15:14:31 +0200
commit6d920febf5a78394fb5da2ffa4b0cf6636b707d8 (patch)
treeac1e871d36da4863368a63f3c4535c4f26020552 /scripts
parentd681fef0504df2481a4039eab3199b2a8a6f2898 (diff)
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> Signed-off-by: W4TCH0UT <ateekujjawal@gmail.com> Signed-off-by: Anik1199 <anik9280@gmail.com> Conflicts: mm/slub.c
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions