Re: [PATCH RESEND 0/7] locking: opt-in tracking of sleeping lock holders

From: Peter Zijlstra

Date: Thu Oct 01 2026 - 06:42:31 EST


On Mon, Sep 28, 2026 at 01:34:30PM -1000, Tejun Heo wrote:
> Hello, Shakeel.
>
> On Thu, Sep 24, 2026 at 08:50:18AM -0700, Shakeel Butt wrote:
> > The answer is a count in task_struct. Only the locks that ask to be
> > tracked are counted. The mechanism introduced here is planned to be used
> > by solutions for shared lock isolation scenarios [1].
> ...
> > [1] https://lore.kernel.org/20260921192559.2619635-1-shakeel.butt@xxxxxxxxx/
>
> Let's resolve the discussion on the overall approach first.

So I must admit to absolutely hating these patches.