Re: per cpu mbuf statistics

2016-10-21 Thread David Gwynne
> On 22 Oct 2016, at 3:14 AM, Alexander Bluhm wrote: > > On Fri, Oct 21, 2016 at 05:02:49PM +1000, David Gwynne wrote: >> this uses the recently added percpu counter api as the backend for >> the mbstats collection. >> >> ok? > > OK bluhm@ cheers. > >> +mbstat = counters_realloc(mbstat,

Re: per cpu mbuf statistics

2016-10-21 Thread Alexander Bluhm
On Fri, Oct 21, 2016 at 05:02:49PM +1000, David Gwynne wrote: > this uses the recently added percpu counter api as the backend for > the mbstats collection. > > ok? OK bluhm@ > + mbstat = counters_realloc(mbstat, MBSTAT_COUNT, M_DEVBUF); There is no man page entry for counters_realloc() and

per cpu mbuf statistics

2016-10-21 Thread David Gwynne
this uses the recently added percpu counter api as the backend for the mbstats collection. ok? Index: kern/init_main.c === RCS file: /cvs/src/sys/kern/init_main.c,v retrieving revision 1.260 diff -u -p -r1.260 init_main.c --- kern/in