From owner-svn-src-head@FreeBSD.ORG Tue Jun 18 08:42:47 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0DC44B74; Tue, 18 Jun 2013 08:42:47 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) by mx1.freebsd.org (Postfix) with ESMTP id 8F65B1769; Tue, 18 Jun 2013 08:42:46 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.7/8.14.7) with ESMTP id r5I8gjJD024961; Tue, 18 Jun 2013 12:42:45 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.7/8.14.7/Submit) id r5I8gjZh024960; Tue, 18 Jun 2013 12:42:45 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 18 Jun 2013 12:42:45 +0400 From: Gleb Smirnoff To: Jeff Roberson Subject: Re: svn commit: r251826 - head/sys/vm Message-ID: <20130618084245.GR1400@FreeBSD.org> References: <201306170343.r5H3hmtq006361@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <201306170343.r5H3hmtq006361@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 18 Jun 2013 08:42:47 -0000 On Mon, Jun 17, 2013 at 03:43:48AM +0000, Jeff Roberson wrote: J> - Move some stats to be atomics since they would require excessive zone J> locking/unlocking with the new import/release paradigm. Make J> zone_free_item simpler now that callers can manage more stats. How often does this shift of stats from cache to zone happen? Recently we've made a facility for stats that doesn't use atomics: counter(9). However, it utilizes UMA zone to achieve that. So if I suggest to use it in UMA, then at bootstrap we would have a chicken & egg problem. I can try to solve it and move UMA stats to counter(9), if you like the idea. -- Totus tuus, Glebius.