Messages in this thread |  | | Date | Sat, 22 May 2021 14:51:27 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] hungtask: add filter kthread/check comm |
| |
On Fri, 21 May 2021 21:25:44 +0800 chenguanyou <chenguanyou9338@gmail.com> wrote:
> Some kernel threads are always in D state, when we enable hung_task, > it will misjudge, we should skip these to narrow the scope. > > exp mtk mobilephone: > root 435 435 2 0 0 mtk_lpm_monitor_thread 0 D LPM-0 > root 436 436 2 0 0 mtk_lpm_monitor_thread 0 D LPM-1 > root 437 437 2 0 0 mtk_lpm_monitor_thread 0 D LPM-2 > root 438 438 2 0 0 mtk_lpm_monitor_thread 0 D LPM-3 > root 439 439 2 0 0 mtk_lpm_monitor_thread 0 D LPM-4 > root 440 440 2 0 0 mtk_lpm_monitor_thread 0 D LPM-5 > root 441 441 2 0 0 mtk_lpm_monitor_thread 0 D LPM-6 > root 442 442 2 0 0 mtk_lpm_monitor_thread 0 D LPM-7
Maybe convert these threads to use TASK_IDLE?
|  |