mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kassey Li <quic_yingangl@quicinc.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: <mingo@redhat.com>, <linux-kernel@vger.kernel.org>,
	<quic_namajain@quicinc.com>
Subject: Re: [PATCH] kernel/hung_task: add option to ignore task
Date: Tue, 27 Sep 2022 10:04:37 +0800	[thread overview]
Message-ID: <b1dd577d-b153-0cfd-6ab6-e7c973c0955e@quicinc.com> (raw)
In-Reply-To: <Yy2S16jOPVzDZSBe@hirez.programming.kicks-ass.net>



On 9/23/2022 7:04 PM, Peter Zijlstra wrote:
> On Fri, Sep 23, 2022 at 04:53:35PM +0800, Kassey Li wrote:
>> By default, hung_task will iterate the tasklist and check
>> state in TASK_UNINTERRUPTIBLE with a given timeout value.
>>
>> Some tasks may in this state as expected but reported by hung_task.
> 
> Please explain..
I want to set timout value as 60s, 20s, 10s,  or even 5s to more 
aggressive to detect my VIP tasks "init", "surfaceflinger", 
"system_server" for example as debug.

many other tasks wait for IO, mutex, delayed timer ...
will hit this while we want to ignore.







      reply	other threads:[~2022-09-27  2:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-23  8:53 Kassey Li
2022-09-23 11:04 ` Peter Zijlstra
2022-09-27  2:04   ` Kassey Li [this message]

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=b1dd577d-b153-0cfd-6ab6-e7c973c0955e@quicinc.com \
    --to=quic_yingangl@quicinc.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=quic_namajain@quicinc.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®