]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
lib/spinlock_debug.c: print owner on spinlock lockup
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 1 Nov 2011 00:12:29 +0000 (17:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 1 Nov 2011 00:30:56 +0000 (17:30 -0700)
commit4e101b0e6aa885f5786a058eefc1ce4b7cc7c44e
tree427a6aa51ec4a278bcfc749d4a8129cf9fe20f83
parent1dff46d6987484eaa31f2fb1425216ba06418be3
lib/spinlock_debug.c: print owner on spinlock lockup

When SPIN_BUG_ON is triggered, the lock owner information is reported.
But it is omitted when spinlock lockup is detected.

This information is useful especially on the architectures which don't
implement trigger_all_cpu_backtrace() that is called just after detecting
lockup.  So report it and also avoid message format duplication.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/spinlock_debug.c