summaryrefslogtreecommitdiffstats
path: root/mm/debug_vm_pgtable.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2020-08-07 08:19:09 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2020-08-07 20:33:23 +0200
commitb3cb9fc3aeaf9d52967c87d54a98f035e96279dc (patch)
treec503cbb2063ed9d78211856bcf6fb16d8f6d2fcf /mm/debug_vm_pgtable.c
parentmm, slab/slub: improve error reporting and overhead of cache_from_obj() (diff)
downloadlinux-b3cb9fc3aeaf9d52967c87d54a98f035e96279dc.tar.xz
linux-b3cb9fc3aeaf9d52967c87d54a98f035e96279dc.zip
mm/slub.c: drop lockdep_assert_held() from put_map()
There is no point in using lockdep_assert_held() unlock that is about to be unlocked. It works only with lockdep and lockdep will complain if spin_unlock() is used on a lock that has not been locked. Remove superfluous lockdep_assert_held(). Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: Yu Zhao <yuzhao@google.com> Cc: Christopher Lameter <cl@linux.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: David Rientjes <rientjes@google.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/20200618201234.795692-2-bigeasy@linutronix.de Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/debug_vm_pgtable.c')
0 files changed, 0 insertions, 0 deletions