[RFC] Macro to sum DPCPU vars

Lawrence Stewart lstewart at freebsd.org
Thu Jun 10 03:54:55 UTC 2010

Does anyone have objections to or feedback on the following patch? The 
macro simplifies the act of calculating an aggregate from DPCPU counters.


If anyone is curious how you would use it, take a look at:


and search for code that references the "siftr_stats" struct or "DPCPU".

I intend to commit the DPCPU patch in the next day or two.


More information about the freebsd-current mailing list