diff options
author | 2019-07-28 21:47:35 -0700 | |
---|---|---|
committer | 2019-08-06 12:49:15 +0200 | |
commit | fce45cd41101f1a9620267146b21f09b3454d8db (patch) | |
tree | ff8142e67c6ec7cb5d6ed8aa0a7e662bfe57ce1a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | locking/rwsem: Make handoff writer optimistically spin on owner (diff) | |
download | wireguard-linux-fce45cd41101f1a9620267146b21f09b3454d8db.tar.xz wireguard-linux-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 <dbueso@suse.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Waiman Long <longman@redhat.com>
Cc: mingo@kernel.org
Cc: Davidlohr Bueso <dave@stgolabs.net>
Link: https://lkml.kernel.org/r/20190729044735.9632-1-dave@stgolabs.net
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions