diff options
author | Bart Van Assche <[email protected]> | 2019-02-14 15:00:37 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-02-28 07:55:39 +0100 |
commit | 7ff8517e1034f26dde03d6df4026f085480408f0 (patch) | |
tree | c50e84c080faedad88722f438743054fb89bbf58 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 09d75ecb122d8b600d76e3b8d53a10ffbe3bcec2 (diff) |
locking/lockdep: Fix reported required memory size (1/2)
Change the sizeof(array element time) * (array size) expressions into
sizeof(array). This fixes the size computations of the classhash_table[]
and chainhash_table[] arrays.
The reason is that commit:
a63f38cc4ccf ("locking/lockdep: Convert hash tables to hlists")
changed the type of the elements of that array from 'struct list_head' into
'struct hlist_head'.
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Johannes Berg <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Waiman Long <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions