diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2022-09-19 09:52:13 +0900 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2022-09-21 09:58:21 +0200 |
commit | 76e64c73db9542ff4bae8a60f4f32e38f3799b95 (patch) | |
tree | b74b3d1d43b96cec54327b402aeccb3a923cfce3 /arch/x86/include | |
parent | 74656d03ac36fabb16b9df5221cf398ee3a9ca08 (diff) | |
download | lwn-76e64c73db9542ff4bae8a60f4f32e38f3799b95.tar.gz lwn-76e64c73db9542ff4bae8a60f4f32e38f3799b95.zip |
locking/lockdep: Print more debug information - report name and key when look_up_lock_class() got confused
Printing this information will be helpful:
------------[ cut here ]------------
Looking for class "l2tp_sock" with key l2tp_socket_class, but found a different class "slock-AF_INET6" with the same key
WARNING: CPU: 1 PID: 14195 at kernel/locking/lockdep.c:940 look_up_lock_class+0xcc/0x140
Modules linked in:
CPU: 1 PID: 14195 Comm: a.out Not tainted 6.0.0-rc6-dirty #863
Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
RIP: 0010:look_up_lock_class+0xcc/0x140
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/bd99391e-f787-efe9-5ec6-3c6dc4c587b0@I-love.SAKURA.ne.jp
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions