aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2018-01-17 15:14:12 +0000
committerThomas Gleixner <[email protected]>2018-01-18 10:56:48 +0000
commit64f29d1bc9fb8196df3d0f1df694245230e208c0 (patch)
treefbd97ed1f1ee7d1e9c23c86b1314135b24fcc5e8 /net/unix/af_unix.c
parentMerge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker... (diff)
downloadkernel-64f29d1bc9fb8196df3d0f1df694245230e208c0.tar.gz
kernel-64f29d1bc9fb8196df3d0f1df694245230e208c0.zip
lockdep: Assign lock keys on registration
Lockdep is assigning lock keys when a lock was looked up. This is unnecessary; if the lock has never been registered then it is known that it is not locked. It also complicates the calling convention. Switch to assigning the lock key in register_lock_class(). Signed-off-by: Matthew Wilcox <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Cc: "David S. Miller" <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions