RE: [????] Re: [????] Re: [PATCH][v3] hung_task: Panic after fixed number of hung tasks
"Li,Rongqing" <[email protected]> Wed, 15 Oct 2025 02:04:21 +0000
| Newsgroups | com.zx2c4.lists.wireguard,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest,org.kernel.vger.netdev,org.ozlabs.lists.linux-aspeed |
|---|---|
| Message-ID | <[email protected]> |
> I would also update the subject to something like: > > hung_task: Panic when there are more than N hung tasks at the same > time > Ok, I will update > > > That said, I think that both approaches make sense. > > Your approach would trigger the panic when many processes are stuck. > Note that it still might be a transient state. But I agree that the more stuck > processes exist the more serious the problem likely is for the heath of the > system. > > My approach would trigger panic when a single process hangs for a long > time. It will trigger more likely only when the problem is persistent. The > seriousness depends on which particular process get stuck. > Yes, both are reasonable requirement, and I will leave it to you or anyone else interested to implement it Thanks -Li. > I am fine with your approach. Just please, make more clear that the number > means the number of hung tasks at the same time. > And mention the problems to login, ... > > Best Regards, > Petr