tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
TCP and NET_MPSAFE
Looking at https://nxr.netbsd.org/xref/src/doc/TODO.smpnet there is
mention of TCP being protected, and I think this is referring to the
KERNEL_LOCK around tcp_output() and like.
But a cursory read makes these seem unnecessary, i.e. they could be
dropped or switched to KERNEL_LOCK_UNLESS_NET_MPSAFE, because all the
callers already lock accordingly. A quick test doing so doesn't lead
to immediate issues with a NET_MPSAFE kernel. But it's also not a big
win because softnet_lock still dominates.
Is there any recent history looking into any of this, and is anyone
working on it still that may want to compare notes?
Regards,
Kevin Bowling
Home |
Main Index |
Thread Index |
Old Index