RE: [REGRESSION] perf: Rewrite core context handling breaks multiplexed cgroup events

From: Antoine HURET

Date: Thu Oct 15 2026 - 08:43:53 EST


On Thu, Oct 15, 2026 at 11:13 UTC, Peter Zijlstra wrote:
> /me mutters something about having to go install and learn docker and
> what's wrong with simple shells scripts that poke about in /cgroup
> filesystems :-)

Fair enough, sorry about that! Next time I'll do plain cgroupfs,
promised :-)

> Yes, I think this is right.
>
> That said; while looking at this, I wonder if we should write this like
> so instead. Although perhaps we should do this on top, your patch is
> trivial, correct and more convenient for backport.

Thanks for the quick review ! I'll send my patch.

FYI, I also tested your variant on top of v7.3-rc7 with the same
reproducer and it fixes the issue too (case 4: 4.367 - 4.388 G over
20 runs).

Thanks,
Antoine