[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20210522145127.5f56751f164df8af2d3f39fa@linux-foundation.org>
Date: Sat, 22 May 2021 14:51:27 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: chenguanyou <chenguanyou9338@...il.com>
Cc: linux-kernel@...r.kernel.org, keescook@...omium.org,
mhocko@...e.com, lukas.bulwahn@...il.com, vbabka@...e.cz,
gpiccoli@...onical.com, chenguanyou <chenguanyou@...omi.com>
Subject: Re: [PATCH] hungtask: add filter kthread/check comm
On Fri, 21 May 2021 21:25:44 +0800 chenguanyou <chenguanyou9338@...il.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?
Powered by blists - more mailing lists