All of lore.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Shakeel Butt <shakeel.butt@linux.dev>
Cc: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net,
	andrii@kernel.org, martin.lau@linux.dev, eddyz87@gmail.com,
	memxor@gmail.com, song@kernel.org, yonghong.song@linux.dev,
	john.fastabend@gmail.com, jolsa@kernel.org, emil@etsalapatis.com,
	ihor.solodrai@linux.dev, roman.gushchin@linux.dev,
	ameryhung@gmail.com, tj@kernel.org, hannes@cmpxchg.org,
	mkoutny@suse.com, kernel-team@meta.com, cgroups@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH bpf-next 0/3] bpf, cgroup: Don't wait for cgroup_mutex to read or free cgroup bpf state
Date: Sat, 14 Nov 2026 19:10:06 +0000	[thread overview]
Message-ID: <179468340603.2344194.2562831381781655798.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261112172721.440275-1-shakeel.butt@linux.dev>

Hello:

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

On Thu, 12 Nov 2026 09:27:12 -0800 you wrote:
> In the Meta fleet, BPF_PROG_QUERY callers, link-info readers and the
> cgroup bpf release work often wait minutes for cgroup_mutex. The holder is
> almost always a cgroup mkdir or rmdir stuck on kernfs_rwsem. In one day,
> hung-task reports showed this on 1,075 hosts (query), 94 hosts (link info)
> and 458 hosts (release work).
> 
> Patch 3 gives the cgroup bpf state its own mutex, so these paths no longer
> take cgroup_mutex. Attach, detach and replace still take cgroup_mutex
> first, because they walk the descendants.
> 
> [...]

Here is the summary with links:
  - [bpf-next,1/3] bpf, cgroup: Don't read freed effective arrays in BPF_PROG_QUERY
    https://git.kernel.org/bpf/bpf/c/90f4e698f9c1
  - [bpf-next,2/3] bpf, cgroup: Don't attach to a removed cgroup
    https://git.kernel.org/bpf/bpf/c/b2e007371909
  - [bpf-next,3/3] bpf, cgroup: Protect cgroup_bpf state with its own mutex
    https://git.kernel.org/bpf/bpf/c/40aec6bab02e

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-11-14 19:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-12 17:27 [PATCH bpf-next 0/3] bpf, cgroup: Don't wait for cgroup_mutex to read or free cgroup bpf state Shakeel Butt
2026-11-12 17:27 ` [PATCH bpf-next 1/3] bpf, cgroup: Don't read freed effective arrays in BPF_PROG_QUERY Shakeel Butt
2026-11-12 17:27 ` [PATCH bpf-next 2/3] bpf, cgroup: Don't attach to a removed cgroup Shakeel Butt
2026-11-12 17:27 ` [PATCH bpf-next 3/3] bpf, cgroup: Protect cgroup_bpf state with its own mutex Shakeel Butt
2026-11-12 17:41   ` sashiko-bot
2026-11-12 18:23     ` Shakeel Butt
2026-11-14 16:19 ` [PATCH bpf-next 0/3] bpf, cgroup: Don't wait for cgroup_mutex to read or free cgroup bpf state Tejun Heo
2026-11-14 19:10 ` 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=179468340603.2344194.2562831381781655798.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=ameryhung@gmail.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=cgroups@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=emil@etsalapatis.com \
    --cc=hannes@cmpxchg.org \
    --cc=ihor.solodrai@linux.dev \
    --cc=john.fastabend@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=kernel-team@meta.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin.lau@linux.dev \
    --cc=memxor@gmail.com \
    --cc=mkoutny@suse.com \
    --cc=roman.gushchin@linux.dev \
    --cc=shakeel.butt@linux.dev \
    --cc=song@kernel.org \
    --cc=tj@kernel.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.