page_pool: Add recycle stats
mainline inclusion from mainline-v5.18-rc1 commit ad6fa1e1 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8BNYE CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ad6fa1e1ab1b8164f1ba296b1b4dc556a483bcad ---------------------------------------------------------------------- Add per-cpu stats tracking page pool recycling events: - cached: recycling placed page in the page pool cache - cache_full: page pool cache was full - ring: page placed into the ptr ring - ring_full: page released from page pool because the ptr ring was full - released_refcnt: page released (and not recycled) because refcnt > 1 Signed-off-by:Joe Damato <jdamato@fastly.com> Acked-by:
Jesper Dangaard Brouer <brouer@redhat.com> Reviewed-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
Loading
Please sign in to comment