cvs commit: src/sys/net if.c netisr.c netisr.h src/sys/netinet ip_demux.c
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Wed Jan 19 09:51:14 PST 2005
On Wednesday, 19. January 2005 18:30, Matthew Dillon wrote:
> The two solutions are to either ref-count the network interface on a
> per-packet basis or to synchronize against consumers of the packet.
> ref-counting is very expensive in an MP system so we have chosen to
> synchronize against consumers by sending a NOP message to all protocol
> processing threads and waiting for it to be replied. This only occurs
> when an interface is being brought down and is not expected to introduce
> any performance issues.
this is really great! i mean, the simplicity is overwhelming... this messaging
framework really pays off :)
\ ASCII Ribbon Campaign
/ \ Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 187 bytes
Desc: "Description: PGP signature"
More information about the Commits