diff options
| author | Matthew Wilcox <[email protected]> | 2018-01-17 15:14:12 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2018-01-18 10:56:48 +0000 |
| commit | 64f29d1bc9fb8196df3d0f1df694245230e208c0 (patch) | |
| tree | fbd97ed1f1ee7d1e9c23c86b1314135b24fcc5e8 /tools/perf/scripts/python/compaction-times.py | |
| parent | Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
| download | kernel-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 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
