From: Peter Zijlstra <peterz@infradead.org>
To: 周传高 <zhouchuangao@vivo.com>
Cc: Ingo Molnar <mingo@redhat.com>,
Juri Lelli <juri.lelli@redhat.com>,
Vincent Guittot <vincent.guittot@linaro.org>,
Dietmar Eggemann <dietmar.eggemann@arm.com>,
Steven Rostedt <rostedt@goodmis.org>,
Ben Segall <bsegall@google.com>, Mel Gorman <mgorman@suse.de>,
Daniel Bristot de Oliveira <bristot@redhat.com>,
Andrew Morton <akpm@linux-foundation.org>,
Kees Cook <keescook@chromium.org>,
Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>,
Michal Hocko <mhocko@suse.com>,
"Guilherme G. Piccoli" <gpiccoli@canonical.com>,
Vlastimil Babka <vbabka@suse.cz>,
Lukas Bulwahn <lukas.bulwahn@gmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: Re: [PATCH] kernel/hung_task: Add a whitelist and blacklist mechanism.
Date: Mon, 19 Apr 2021 09:45:42 +0200 [thread overview]
Message-ID: <YH01JvQErt6qfPac@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <AIUATwAUDmin4z7rh1*KA4pi.3.1618796786331.Hmail.zhouchuangao@vivo.com>
On Mon, Apr 19, 2021 at 09:46:26AM +0800, 周传高 wrote:
>
> >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.
Then raise a bug against their crap software, don't try and work around
it in the kernel.
We're not going to upstream workarounds for crap vendor software.
next prev parent reply other threads:[~2021-04-19 7:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-17 14:13 zhouchuangao
2021-04-17 14:36 ` Peter Zijlstra
2021-04-19 1:46 ` 周传高
2021-04-19 7:45 ` Peter Zijlstra [this message]
2021-04-17 14:44 ` Tetsuo Handa
2021-04-19 2:22 ` 周传高
2021-04-19 2:38 ` Tetsuo Handa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YH01JvQErt6qfPac@hirez.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=bristot@redhat.com \
--cc=bsegall@google.com \
--cc=dietmar.eggemann@arm.com \
--cc=gpiccoli@canonical.com \
--cc=juri.lelli@redhat.com \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lukas.bulwahn@gmail.com \
--cc=mgorman@suse.de \
--cc=mhocko@suse.com \
--cc=mingo@redhat.com \
--cc=penguin-kernel@i-love.sakura.ne.jp \
--cc=rostedt@goodmis.org \
--cc=vbabka@suse.cz \
--cc=vincent.guittot@linaro.org \
--cc=zhouchuangao@vivo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®