summaryrefslogtreecommitdiffstats
path: root/lib/libfuse
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2017-12-14 23:21:04 +0000
committerdlg <dlg@openbsd.org>2017-12-14 23:21:04 +0000
commit0e4e575207c5ab24aa65ccf970655a99237396c1 (patch)
treefb48f92075dece640fd03c18ec8a71338f2eeff4 /lib/libfuse
parentset Location header for 307 and 308 status codes (diff)
downloadwireguard-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