[net-next v1 PATCH 0/4] page_pool: followup changes to restore tracepoint features

Jesper Dangaard Brouer
2019-11-15T15:06:05Z

This patchset is a followup to Jonathan patch, that do not release
pool until inflight == 0. That changed page_pool to be responsible for
its own delayed destruction instead of relying on xdp memory model.

As the page_pool maintainer, I'm promoting the use of tracepoint to
troubleshoot and help driver developers verify correctness when
converting at driver to use page_pool. The role of xdp:mem_disconnect
have changed, which broke my bpftrace tools for shutdown verification.
With these changes, the same capabilities are regained.

---

Jesper Dangaard Brouer (4):
xdp: remove memory poison on free for struct xdp_mem_allocator
page_pool: add destroy attempts counter and rename tracepoint
page_pool: block alloc cache during shutdown
page_pool: extend tracepoint to also include the page PFN

include/net/page_pool.h | 2 ++
include/trace/events/page_pool.h | 22 +++++++++++++++-------
net/core/page_pool.c | 17 +++++++++++++++--
net/core/xdp.c | 5 -----
4 files changed, 32 insertions(+), 14 deletions(-)

--