diff options
author | 2017-12-14 23:21:04 +0000 | |
---|---|---|
committer | 2017-12-14 23:21:04 +0000 | |
commit | 0e4e575207c5ab24aa65ccf970655a99237396c1 (patch) | |
tree | fb48f92075dece640fd03c18ec8a71338f2eeff4 /lib/libfuse | |
parent | set Location header for 307 and 308 status codes (diff) | |
download | wireguard-openbsd-0e4e575207c5ab24aa65ccf970655a99237396c1.tar.xz wireguard-openbsd-0e4e575207c5ab24aa65ccf970655a99237396c1.zip |
make sched_barrier use cond_wait/cond_signal.
previously the code was using a percpu flag to manage the sleeps/wakeups,
which means multiple threads waiting for a barrier on a cpu could
race. moving to a cond struct on the stack fixes this.
while here, get rid of the sbar taskq and just use systqmp instead.
the barrier tasks are short, so there's no real downside.
ok mpi@
Diffstat (limited to 'lib/libfuse')
0 files changed, 0 insertions, 0 deletions