BPF List
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Fuyu Zhao <zhaofuyu@vivo.com>
Cc: bpf@vger.kernel.org, eddyz87@gmail.com,
	andrii.nakryiko@gmail.com, alan.maguire@oracle.com,
	olsajiri@gmail.com
Subject: Re: [PATCH bpf-next v9 0/2] libbpf: improve BPF load performance by selectively loading module BTFs
Date: Mon, 21 Sep 2026 16:40:06 +0000	[thread overview]
Message-ID: <179000880614.3127600.4490583996264592511.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260915124104.77287-1-zhaofuyu@vivo.com>

Hello:

This series was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Tue, 15 Sep 2026 20:41:02 +0800 you wrote:
> Currently, load_module_btfs() unconditionally iterates over all kernel
> module BTFs and loads each one. This introduces unnecessary overhead
> when a BPF program only needs BTFs from a small subset of modules.
> 
> In our Android testing, BPF programs are loaded on demand rather than
> preloaded to avoid unnecessary memory usage from unused programs. With
> 93 module BTFs present, the total BPF loading time exceeds 300 ms, with
> module BTF loading accounting for around 69% of the total loading time.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v9,1/2] libbpf: support selective kernel module BTF loading via bpf_object_open_opts
    https://git.kernel.org/bpf/bpf-next/c/34b184792443
  - [bpf-next,v9,2/2] selftests/bpf: add tests for selective module BTF loading
    https://git.kernel.org/bpf/bpf-next/c/66c22d8c0f62

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



      parent reply	other threads:[~2026-09-21 16:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-15 12:41 [PATCH bpf-next v9 0/2] libbpf: improve BPF load performance by selectively loading module BTFs Fuyu Zhao
2026-09-15 12:41 ` [PATCH bpf-next v9 1/2] libbpf: support selective kernel module BTF loading via bpf_object_open_opts Fuyu Zhao
2026-09-15 13:33   ` bot+bpf-ci
2026-09-15 12:41 ` [PATCH bpf-next v9 2/2] selftests/bpf: add tests for selective module BTF loading Fuyu Zhao
2026-09-15 13:33   ` bot+bpf-ci
2026-09-21 16:40 ` patchwork-bot+netdevbpf [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=179000880614.3127600.4490583996264592511.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=alan.maguire@oracle.com \
    --cc=andrii.nakryiko@gmail.com \
    --cc=bpf@vger.kernel.org \
    --cc=eddyz87@gmail.com \
    --cc=olsajiri@gmail.com \
    --cc=zhaofuyu@vivo.com \
    /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