udp mpsafe

Matthew Dillon dillon at apollo.backplane.com
Tue Jan 11 19:32:38 PST 2011


:Hi all,
:
:Please review the devel^2 ~ devel^5 (inclusive) at:
:http://gitweb.dragonflybsd.org/~sephe/dragonfly.git/shortlog/refs/heads/devel
:
:The modification/accessing to the udbinfo is protected by two mechanism:
:1) netisr barrier, which prevents code running in netisr from
:accessing udbinfo when the modification is going to happen
:2) serializer, which prevents code not running in netisr (e.g. sysctl,
:interface detaching) from accessing udbinfo when the modification is
:going to happen
:
:1) makes the udp input/output path lock free.
:
:Best Regards,
:sephe

    I'm going to ask Peter to run your fixes on theshell.  He's been having
    UDP-related kqueue issues which might be fixed by this.

						-Matt






More information about the Kernel mailing list