svn commit: r272244 - head/sys/net

Gleb Smirnoff glebius at FreeBSD.org
Sun Sep 28 09:16:30 UTC 2014


On Sun, Sep 28, 2014 at 08:57:08AM +0000, Gleb Smirnoff wrote:
T> Author: glebius
T> Date: Sun Sep 28 08:57:07 2014
T> New Revision: 272244
T> URL: http://svnweb.freebsd.org/changeset/base/272244
T> 
T> Log:
T>   Finally, convert counters in struct ifnet to counter(9).
T>   
T>   Sponsored by:	Netflix
T>   Sponsored by:	Nginx, Inc.

Now the network stack is 99% free of old style ++ on a global
variable, that trashes cache line and is racy.

The last remnant is queue drop counter in buf_ring(9), which
would be probably addressed when interface queuing is generalized.

-- 
Totus tuus, Glebius.


More information about the svn-src-all mailing list