diff options
author | Klemens Nanni <kn@cvs.openbsd.org> | 2022-11-07 10:45:40 +0000 |
---|---|---|
committer | Klemens Nanni <kn@cvs.openbsd.org> | 2022-11-07 10:45:40 +0000 |
commit | 53cf9ceacf11b287d16f727b215b437ddea6f205 (patch) | |
tree | 0b35b8edce1ca5e3de25cfdaf766c45c1b9afe21 /sys/dev/midi.c | |
parent | ae8fa8e38df115a1ea86b802d6bddc7aff1e3b94 (diff) |
Run the ND6 expiry timer without kernel lock
Added in 2017 to
Reduce contention on the NET_LOCK() by moving the nd6 address expiration
task to the `softnettq`.
This should no longer be needed thanks to sys/net/if.c r1.652 in 2022:
Activate parallel IP forwarding. Start 4 softnet tasks. Limit the
usage to the number of CPUs.
Nothing in nd6_expire() or nd6_expire_timer_update() requires protection by
the kernel lock.
The interface list and per-interface address lists remain protected by the
net lock.
Tests by Hrvoje
OK mpi
Diffstat (limited to 'sys/dev/midi.c')
0 files changed, 0 insertions, 0 deletions