mbox series

[net-next,v2,0/3] page_pool: followup changes to restore tracepoint features

Message ID 157390333500.4062.15569811103072483038.stgit@firesoul
Headers show
Series page_pool: followup changes to restore tracepoint features | expand

Message

Jesper Dangaard Brouer Nov. 16, 2019, 11:22 a.m. UTC
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 (3):
      xdp: remove memory poison on free for struct xdp_mem_allocator
      page_pool: add destroy attempts counter and rename tracepoint
      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             |   13 +++++++++++--
 net/core/xdp.c                   |    5 -----
 4 files changed, 28 insertions(+), 14 deletions(-)

--
Signature

Comments

David Miller Nov. 19, 2019, 1:03 a.m. UTC | #1
From: Jesper Dangaard Brouer <brouer@redhat.com>
Date: Sat, 16 Nov 2019 12:22:32 +0100

> 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.

Series applied, thanks Jesper.