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.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to