The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Xu Kuohai <xukuohai@huaweicloud.com>
Cc: bpf@vger.kernel.org, linux-kernel@vger.kernel.org,
	ast@kernel.org, daniel@iogearbox.net, john.fastabend@gmail.com,
	andrii@kernel.org, eddyz87@gmail.com, memxor@gmail.com,
	song@kernel.org, yonghong.song@linux.dev, jolsa@kernel.org,
	emil@etsalapatis.com, puranjay@kernel.org,
	pawan.kumar.gupta@linux.intel.com
Subject: Re: [PATCH bpf-next v2 0/2] bpf: Move IPIs out of pack_mutex and reduce IBPB flushes
Date: Fri, 04 Dec 2026 03:40:05 +0000	[thread overview]
Message-ID: <179635560515.804901.3620654132399056862.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <cover.1796304466.git.xukuohai@huawei.com>

Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:

On Thu,  3 Dec 2026 14:09:20 +0000 you wrote:
> From: Xu Kuohai <xukuohai@huawei.com>
> 
> BPF JIT memory is allocated through the BPF program pack allocator,
> which uses a global pack_mutex to protect its packs. While holding this
> lock, the allocator currently sends IPI to all CPUs on two paths: IBPB
> flush on the x86 alloc path and CPU pipeline flush on the arm64 free
> path. Because the caller can be preempted while waiting for the IPI
> completion, the lock can be held for a long time, causing heavy lock
> contention on busy systems.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v2,1/2] bpf: Invalidate freed prog pack memory without holding pack_mutex
    https://git.kernel.org/bpf/bpf-next/c/3c61cdf2d32c
  - [bpf-next,v2,2/2] bpf: Reduce branch predictor flush and move it out of pack_mutex
    https://git.kernel.org/bpf/bpf-next/c/88931b030b19

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-12-04  3:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 14:09 [PATCH bpf-next v2 0/2] bpf: Move IPIs out of pack_mutex and reduce IBPB flushes Xu Kuohai
2026-12-03 14:09 ` [PATCH bpf-next v2 1/2] bpf: Invalidate freed prog pack memory without holding pack_mutex Xu Kuohai
2026-12-03 14:09 ` [PATCH bpf-next v2 2/2] bpf: Reduce branch predictor flush and move it out of pack_mutex Xu Kuohai
2026-12-03 15:15   ` bot+bpf-ci
2026-12-04  3: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=179635560515.804901.3620654132399056862.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=emil@etsalapatis.com \
    --cc=john.fastabend@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=memxor@gmail.com \
    --cc=pawan.kumar.gupta@linux.intel.com \
    --cc=puranjay@kernel.org \
    --cc=song@kernel.org \
    --cc=xukuohai@huaweicloud.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