NetBSD/sys/arch/x86
ozaki-r bf5ce79b5b Protect ec_multi* with mutex
The data can be accessed from sysctl, ioctl, interface watchdog
(if_slowtimo) and interrupt handlers. We need to protect the data against
parallel accesses from them.

Currently the mutex is applied to some drivers, we need to apply it to all
drivers in the future.

Note that the mutex is adaptive one for ease of implementation but some
drivers access the data in interrupt context so we cannot apply the mutex
to every drivers as is. We have two options: one is to replace the mutex
with a spin one, which requires some additional works (see
ether_multicast_sysctl), and the other is to modify the drivers to access
the data not in interrupt context somehow.
2016-12-28 07:32:16 +00:00
..
acpi Add a synthesized pc beeper and keyboard bell for platforms with an audio 2016-12-08 11:31:08 +00:00
conf Add cpu_rng, a framework for simple on-CPU random number generators. 2016-02-27 00:09:44 +00:00
include the i386 and amd64 boot time msgbuf init code is nearly identical. 2016-12-26 17:54:06 +00:00
isa provide intr xname 2016-10-15 16:46:14 +00:00
pci Protect ec_multi* with mutex 2016-12-28 07:32:16 +00:00
x86 the i386 and amd64 boot time msgbuf init code is nearly identical. 2016-12-26 17:54:06 +00:00