[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dfab5a3cc8984b56bf2d0d49ff06b47f@baidu.com>
Date: Tue, 23 Sep 2025 06:19:44 +0000
From: "Li,Rongqing" <lirongqing@...du.com>
To: Lance Yang <lance.yang@...ux.dev>, Andrew Morton
<akpm@...ux-foundation.org>
CC: "corbet@....net" <corbet@....net>, "mhiramat@...nel.org"
<mhiramat@...nel.org>, "paulmck@...nel.org" <paulmck@...nel.org>,
"pawan.kumar.gupta@...ux.intel.com" <pawan.kumar.gupta@...ux.intel.com>,
"mingo@...nel.org" <mingo@...nel.org>, "dave.hansen@...ux.intel.com"
<dave.hansen@...ux.intel.com>, "rostedt@...dmis.org" <rostedt@...dmis.org>,
"kees@...nel.org" <kees@...nel.org>, "arnd@...db.de" <arnd@...db.de>,
"feng.tang@...ux.alibaba.com" <feng.tang@...ux.alibaba.com>,
"pauld@...hat.com" <pauld@...hat.com>, "joel.granados@...nel.org"
<joel.granados@...nel.org>, "linux-doc@...r.kernel.org"
<linux-doc@...r.kernel.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>
Subject: RE: [外部邮件] Re: [PATCH][RFC] hung_task: Support to panic when the maximum number of hung task warnings is reached
> >> +1. I agree that a userspace detector seems more appropriate for this.
> >>
> >
> > I think the user-space maybe flexibility, but incurs relatively higher overhead
> and is less reliable. When the system hangs, this task may have already hung as
> well.
>
> Emmm... if the system is so degraded that a userspace monitor cannot get
> scheduled, it's very likely that khungtaskd itself is also struggling to run, right?
>
Yes
-Li
> >
> >
> >> We already have the hung_task_detect_count counter, so a userspace
> >> detector could easily use that to implement custom policies ;)
Powered by blists - more mailing lists