Linux Kernel Selftest development
 help / color / mirror / Atom feed
From: "Alexei Starovoitov" <alexei.starovoitov@gmail.com>
To: "Maciej Fijalkowski" <maciej.fijalkowski@intel.com>,
	"Slawomir Stepien" <sst@poczta.fm>
Cc: jiayuan.chen@linux.dev, "Daniel Borkmann" <daniel@iogearbox.net>,
	"David S . Miller" <davem@davemloft.net>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Jesper Dangaard Brouer" <hawk@kernel.org>,
	"John Fastabend" <john.fastabend@gmail.com>,
	"Stanislav Fomichev" <sdf@fomichev.me>,
	bpf@vger.kernel.org, netdev@vger.kernel.org,
	"Tianyi Gao" <tianyi@cloudflare.com>,
	"Octavian Purdila" <tavip@google.com>,
	"Toke Høiland-Jørgensen" <toke@redhat.com>,
	"Alexander Lobakin" <aleksander.lobakin@intel.com>,
	"Ilias Apalodimas" <ilias.apalodimas@linaro.org>,
	"Lorenzo Bianconi" <lorenzo@kernel.org>,
	"Lorenzo Bianconi" <lorenzo.bianconi@oss.qualcomm.com>,
	"Magnus Karlsson" <magnus.karlsson@intel.com>,
	"Ihor Solodrai" <ihor.solodrai@linux.dev>,
	"Eric Dumazet" <edumazet@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Andrew Lunn" <andrew+netdev@lunn.ch>,
	"Simon Horman" <horms@kernel.org>,
	"Andrii Nakryiko" <andrii@kernel.org>,
	"Martin KaFai Lau" <martin.lau@linux.dev>,
	"Eduard Zingerman" <eddyz87@gmail.com>,
	"Song Liu" <song@kernel.org>,
	"Yonghong Song" <yonghong.song@linux.dev>,
	"Jiri Olsa" <jolsa@kernel.org>,
	"Kumar Kartikeya Dwivedi" <memxor@gmail.com>,
	"Emil Tsalapatis" <emil@etsalapatis.com>,
	"Shuah Khan" <shuah@kernel.org>,
	linux-kselftest@vger.kernel.org
Subject: Re: [PATCH v8 bpf 0/7] xdp: fix page_pool leaks
Date: Thu, 26 Nov 2026 20:55:19 +0000	[thread overview]
Message-ID: <DN5FXAJD2B7T.26NBT62PWILGJ@gmail.com> (raw)
In-Reply-To: <awbq4F8pF3YSGX2D@boxer>

On Wed, Nov 25, 2026 at 06:04 AM Maciej Fijalkowski <maciej.fijalkowski@intel.com> wrote:
> Nothing leaks with your diff, it is only about recycling, so I'm fine
> with keeping it out of the fix and following up in net-next. On top of
> the on-stack rxq it should be small: for skbs veth copied (what pp_cow
> tracked; an uncopied head is usually not page_pool memory), keep
> MEM_TYPE_PAGE_POOL in veth_xdp_get() and take page_pool refs instead
> of page refs. Unlike the RFC, which keeps skbs as skbs, that preserves
> the XDP_TX/devmap bulking (the RFC loses 8-17% there [1]).
>
> Would you be OK with that as a follow-up?

I'm not sure whom you're asking :)
but makes sense to me.
net-next is the right place for it.

      reply	other threads:[~2026-11-26 20:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 10:40 [PATCH v8 bpf 0/7] xdp: fix page_pool leaks Slawomir Stepien
2026-11-24 10:40 ` [PATCH v8 bpf 1/7] bpf: test_run: Use a private rxq info for XDP test runs Slawomir Stepien
2026-11-24 10:40 ` [PATCH v8 bpf 2/7] bpf: test_run: Keep frag_size on the private rxq info Slawomir Stepien
2026-11-24 10:40 ` [PATCH v8 bpf 3/7] xdp: introduce xdp_convert_skb_to_buff() Slawomir Stepien
2026-11-24 11:32   ` bot+bpf-ci
2026-11-24 10:40 ` [PATCH v8 bpf 4/7] veth: use the frame mem type when running XDP on an xdp_frame Slawomir Stepien
2026-11-24 10:40 ` [PATCH v8 bpf 5/7] veth: update mem type in xdp_buff Slawomir Stepien
2026-11-24 10:40 ` [PATCH v8 bpf 6/7] selftests/bpf: Shrink test_run frags after generic XDP ran on lo Slawomir Stepien
2026-11-24 10:40 ` [PATCH v8 bpf 7/7] selftests/bpf: Grow test_run and generic XDP frags after a test run Slawomir Stepien
2026-11-24 21:04 ` [PATCH v8 bpf 0/7] xdp: fix page_pool leaks Alexei Starovoitov
2026-11-25 10:12   ` Slawomir Stepien
2026-11-25 11:40     ` Maciej Fijalkowski
2026-11-25 14:04       ` Maciej Fijalkowski
2026-11-26 20:55         ` Alexei Starovoitov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DN5FXAJD2B7T.26NBT62PWILGJ@gmail.com \
    --to=alexei.starovoitov@gmail.com \
    --cc=aleksander.lobakin@intel.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=andrii@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=eddyz87@gmail.com \
    --cc=edumazet@kernel.org \
    --cc=emil@etsalapatis.com \
    --cc=hawk@kernel.org \
    --cc=horms@kernel.org \
    --cc=ihor.solodrai@linux.dev \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jiayuan.chen@linux.dev \
    --cc=john.fastabend@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=lorenzo.bianconi@oss.qualcomm.com \
    --cc=lorenzo@kernel.org \
    --cc=maciej.fijalkowski@intel.com \
    --cc=magnus.karlsson@intel.com \
    --cc=martin.lau@linux.dev \
    --cc=memxor@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sdf@fomichev.me \
    --cc=shuah@kernel.org \
    --cc=song@kernel.org \
    --cc=sst@poczta.fm \
    --cc=tavip@google.com \
    --cc=tianyi@cloudflare.com \
    --cc=toke@redhat.com \
    --cc=yonghong.song@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox