diff options
| author | Davidlohr Bueso <[email protected]> | 2019-07-29 04:47:35 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2019-08-06 10:49:15 +0000 |
| commit | fce45cd41101f1a9620267146b21f09b3454d8db (patch) | |
| tree | ff8142e67c6ec7cb5d6ed8aa0a7e662bfe57ce1a /tools/perf/scripts/python/stat-cpi.py | |
| parent | locking/rwsem: Make handoff writer optimistically spin on owner (diff) | |
| download | kernel-fce45cd41101f1a9620267146b21f09b3454d8db.tar.gz kernel-fce45cd41101f1a9620267146b21f09b3454d8db.zip | |
locking/rwsem: Check for operations on an uninitialized rwsem
Currently rwsems is the only locking primitive that lacks this
debug feature. Add it under CONFIG_DEBUG_RWSEMS and do the magic
checking in the locking fastpath (trylock) operation such that
we cover all cases. The unlocking part is pretty straightforward.
Signed-off-by: Davidlohr Bueso <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Waiman Long <[email protected]>
Cc: [email protected]
Cc: Davidlohr Bueso <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
