Re: [PATCH] perf/core: track the perf mlock gift separately

From: Thorsten Leemhuis

Date: Thu Oct 15 2026 - 05:29:29 EST


On 10/15/26 11:09, Lorenzo Stoakes (ARM) wrote:
> On Thu, Oct 15, 2026 at 09:58:17AM +0200, Peter Zijlstra wrote:
>> On Sat, Oct 03, 2026 at 05:29:07PM +0100, Lorenzo Stoakes (ARM) wrote:
>
>>> Resolve the issue by simply giving perf its own field separate from the
>>> rest.
>> So I'm a little confused by all this -- perf introduced this field,
>> others jumped on and shit broke, so we fix perf instead of the others?
> Yeah I think the blame really lies with the later users, and that send a trend
> that led to further confusion (including myself, mea culpa!)
>
>> Anyway, patch seems straight forward enough; and you added comment to
>> the fields, which I suppose does clarify things some.
>> I'll take it. Thanks!
> Thanks, much appreciated! :)
Just wondering: how urgent is this fix? Is this something we should try
to get into 7.3 given that this was noticed in a regression report that
blamed it on an 7.3-rc commit[1]? That commit also made it to many
stable series now, which might be another reason to get in mainlined
rather sooner than later.

Ciao, Thorsten

[1] https://lore.kernel.org/all/asEllR7if-J3wteg@gremlin/