diff options
| author | 2019-04-28 04:20:40 +0000 | |
|---|---|---|
| committer | 2019-04-28 04:20:40 +0000 | |
| commit | 60aa962e73cae02e1e20bd0158dfeeaca6adff42 (patch) | |
| tree | c18830273d8bd643957273e71f58fb9d7358166e /lib/libcrypto/asn1/a_enum.c | |
| parent | Tweak; work in progress. (diff) | |
| download | wireguard-openbsd-60aa962e73cae02e1e20bd0158dfeeaca6adff42.tar.xz wireguard-openbsd-60aa962e73cae02e1e20bd0158dfeeaca6adff42.zip | |
add WITNESS support to barriers modelled on the timeout stuff visa did.
if a taskq takes a lock, and something holding that lock calls
taskq_barrier, there's a potential deadlock. detect this as a lock
order problem when witness is enable. task_del conditionally followed
by taskq_barrier is a common pattern, so add a taskq_del_barrier
wrapper for it that unconditionally checks for the deadlock, like
timeout_del_barrier.
ok visa@
Diffstat (limited to 'lib/libcrypto/asn1/a_enum.c')
0 files changed, 0 insertions, 0 deletions
