Re: [PATCH v4 1/2] hung_task: Show the blocker task if the task is hung on mutex

From: Sergey Senozhatsky
Date: Wed Jul 30 2025 - 05:48:04 EST


On (25/07/30 17:22), Lance Yang wrote:
[..]
> We should also consider that in many real-world cases, the blocking
> chain is just one level deep

I don't know if this is the case, but consider example:

- task T1 owns lock L1 and is blocked (e.g. on a very huge/slow I/O)
- tasks T2..TN are blocked on L1

There will be N backtraces of T1, with every T2..TN backtrace, which
on a system with small pstore or very slow serial console can in theory
be a little problematic.