lkml.org 
[lkml]   [2021]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe:Re: [PATCH] kernel/hung task: Add a whitelist and blacklist mechanism.
From
Date

>On Sat, Apr 17, 2021 at 07:13:01AM -0700, zhouchuangao wrote:
>> eg:
>> In Android system, we usually and some processes to the whitelist.
>> static task_t task_whitelist[] = {
>> {"mdrt_thread", HUNG_TASK_WHITELIST},
>> {"chre_kthread", HUNG_TASK_WHITELIST},
>> {"scp_power_reset", HUNG_TASK_WHITELIST},
>> {"ccci_fsm1", HUNG_TASK_WHITELIST},
>> {"qos_ipi_recv", HUNG_TASK_WHITELIST},
>> {NULL, 0},
>> };
>
>What are these tasks doing that the hung-task detector fires on them?
>Should you fix that instead?

These tasks are implemented by the SoC vendor, and normally they do
not configure HUNG TASK, so we need to ignore these tasks if we use
HUNG TASK.
Here I want to provide a ignorelist and fatallist mechanism, different
users or use scenarios can be modified accordingly.
The default ignorelist or fatallist is empty.

Thanks,
zhouchuangao

\
 
 \ /
  Last update: 2021-04-19 03:47    [W:0.091 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site