tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: RFC: mpsafe bridge and NIC drivers (vioif and wm)



Hi,

I've prepared a trial patch of MPSAFE networking.

  http://www.netbsd.org/~ozaki-r/mpsafe-wm.diff

It enables the interrupt handler of if_wm to run without
KERNEL_LOCK; an interrupt context and a LWP context (e.g.,
wm_start) run in parallel safely.

You can try it by applying the patch to -current
and commenting in NET_MPSAFE in sys/net/if.h.

A complete patch of my work can be found at usual places:
- http://www.netbsd.org/~ozaki-r/mpsafe-bridge-wm-vioif.diff
- https://github.com/ozaki-r/netbsd-src/tree/experimental/mpsafe-bridge-wm-vioif

  ozaki-r


Home | Main Index | Thread Index | Old Index