From owner-svn-src-head@FreeBSD.ORG Sun Sep 28 09:16:30 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 924D2843; Sun, 28 Sep 2014 09:16:30 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebius.int.ru", Issuer "cell.glebius.int.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 164D294D; Sun, 28 Sep 2014 09:16:28 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.9/8.14.9) with ESMTP id s8S9GPX3057815 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 28 Sep 2014 13:16:25 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.9/8.14.9/Submit) id s8S9GPUO057814; Sun, 28 Sep 2014 13:16:25 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Sun, 28 Sep 2014 13:16:25 +0400 From: Gleb Smirnoff To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r272244 - head/sys/net Message-ID: <20140928091625.GU884@FreeBSD.org> References: <201409280857.s8S8v8cG011117@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201409280857.s8S8v8cG011117@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2014 09:16:30 -0000 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.