summaryrefslogtreecommitdiffstats
path: root/lib/libm
diff options
context:
space:
mode:
authorvisa <visa@openbsd.org>2019-03-14 16:01:02 +0000
committervisa <visa@openbsd.org>2019-03-14 16:01:02 +0000
commitfee69528d2cd998356813db0922e7fd576485f9c (patch)
tree6574799f7b17e80a97a9af8c5dda8e101e819f51 /lib/libm
parentA little tidying in style_parse. (diff)
downloadwireguard-openbsd-fee69528d2cd998356813db0922e7fd576485f9c.tar.xz
wireguard-openbsd-fee69528d2cd998356813db0922e7fd576485f9c.zip
Fix the balancing of work queue interrupts.
The value of `ncpusfound' no longer reflects the number of cores that will be utilized by the kernel; it can be larger if secondary cores have not been enabled by the firmware. This can lead to incorrect assignment of work queue interrupts, making certain cnmac(4) ports unable to receive packets. This is a regression introduced in r1.108 of octeon/machdep.c. Correct the problem by using `ncpus' for the balancing. All secondary cores have been attached and the value is final by the time work queue interrupt handlers are set up. Network issue reported by krw@
Diffstat (limited to 'lib/libm')
0 files changed, 0 insertions, 0 deletions