summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/compiler-rt/lib/sanitizer_common/scripts/cpplint.py
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2021-01-02 07:25:42 +0000
committerdlg <dlg@openbsd.org>2021-01-02 07:25:42 +0000
commit7e6b4662857e5b876eb8493f323b1acade84691c (patch)
tree160be51001a36337618f2ae0ed4ee4a87fac5304 /gnu/llvm/compiler-rt/lib/sanitizer_common/scripts/cpplint.py
parentupdate currency exchange rates; (diff)
downloadwireguard-openbsd-7e6b4662857e5b876eb8493f323b1acade84691c.tar.xz
wireguard-openbsd-7e6b4662857e5b876eb8493f323b1acade84691c.zip
optimise bpf_catchpacket and bpf_wakeup.
bpf_catchpacket had a chunk to deal with reader timeouts, but that has largely been moved to bpfread. the vestigal code that was left still tried to wake up a reader when a buffer got full, but there already is a chunk of code that wakes up readers when the buffer gets full. bpf_wakeup now checks for readers before calling wakeup directly, rather than pushing the wakeup to a task and calling it unconditionally. the task_add is now only done when the bpfdesc actually has something that needs it. ok visa@
Diffstat (limited to 'gnu/llvm/compiler-rt/lib/sanitizer_common/scripts/cpplint.py')
0 files changed, 0 insertions, 0 deletions