diff options
author | Boqun Feng <boqun.feng@gmail.com> | 2020-08-07 15:42:24 +0800 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-08-26 12:42:04 +0200 |
commit | bd76eca10de2eb9998d5125b08e8997cbf5508d5 (patch) | |
tree | 0e44eb90aba2709830cef110dbaceaaf89acaeb2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d563bc6ead9e79be37067d58509a605b67378184 (diff) |
lockdep: Reduce the size of lock_list::distance
lock_list::distance is always not greater than MAX_LOCK_DEPTH (which
is 48 right now), so a u16 will fit. This patch reduces the size of
lock_list::distance to save space, so that we can introduce other fields
to help detect recursive read lock deadlocks without increasing the size
of lock_list structure.
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200807074238.1632519-6-boqun.feng@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions