[PATCH v2] mempool: introduce statistics reset function

Thomas Monjalon thomas at monjalon.net
Wed Jun 3 17:14:05 CEST 2026


24/02/2026 10:57, Andrew Rybchenko:
> On 2/24/26 12:28 PM, Morten Brørup wrote:
> > Populating a mempool with objects is accounted for in the statistics.
> > When analyzing mempool cache statistics, this may distort the data.
> > In order to simplify mempool cache statistics analysis, a mempool
> > statistics reset function was added.
> > 
> > Furthermore, details about average burst sizes and mempool cache miss
> > rates were added to the statistics shown when dumping a mempool.
> > 
> > Signed-off-by: Morten Brørup <mb at smartsharesystems.com>
> 
> Acked-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>

Applied with version changed to 26.07, thanks.





More information about the dev mailing list