From: "Zhang, Yanmin" <yanmin.zhang@intel.com>
To: Afzal Mohammed <afzal.mohd.ma@gmail.com>,
"Zhang, LongX" <longx.zhang@intel.com>
Cc: "mingo@redhat.com" <mingo@redhat.com>,
"peterz@infradead.org" <peterz@infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH] sched: don't output cpu sched info by default
Date: Tue, 26 Apr 2016 06:39:03 +0000 [thread overview]
Message-ID: <144086DDB7BB6D429C79280EB1C804D40AB769CD@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <20160425104948.GA4637@afzalpc>
I double-check it.
Function show_state_filter chooses to print all tasks when
state_filter == 0 (TASK_RUNNING).
sysrq_sched_debug_show prints per cpu sched debug info.
They are different info.
It is better to use sched_debug_enabled to control the
2nd part output.
Yanmin
-----Original Message-----
From: Zhang, Yanmin
Sent: Tuesday, April 26, 2016 9:04 AM
To: Afzal Mohammed; Zhang, LongX
Cc: mingo@redhat.com; peterz@infradead.org; linux-kernel@vger.kernel.org
Subject: RE: [PATCH] sched: don't output cpu sched info by default
Thanks for the pointer. We didn't notice that. That patch also fixes the issue indeed.
Yanmin
-----Original Message-----
From: Afzal Mohammed [mailto:afzal.mohd.ma@gmail.com]
Sent: Monday, April 25, 2016 6:50 PM
To: Zhang, LongX
Cc: mingo@redhat.com; peterz@infradead.org; linux-kernel@vger.kernel.org; Zhang, Yanmin
Subject: Re: [PATCH] sched: don't output cpu sched info by default
Hi,
On Mon, Apr 25, 2016 at 01:04:41PM +0800, Zhang Long wrote:
> Android userspace debug prcoess might dump system info by sysrq.
> One info is of cpu sched. Usually, one thread has one line dump.
> Such log is huge sometimes and such dumping spends lots of time and
> make the system worse. Sometimes, watchdog resets the system in the
> end.
>
> The patch fixes it by dumping cpu sched info only when
> sched_debug_enabled is true.
Doesn't "sched: don't dump sched debug info in SysRq-W" currently in tip/sched/core help ?,
http://lkml.kernel.org/r/1459777322-30902-1-git-send-email-rabin.vincent@axis.com
Regards
afzal
prev parent reply other threads:[~2016-04-26 6:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-25 5:04 Zhang Long
2016-04-25 10:49 ` Afzal Mohammed
2016-04-26 1:04 ` Zhang, Yanmin
2016-04-26 6:39 ` Zhang, Yanmin [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=144086DDB7BB6D429C79280EB1C804D40AB769CD@SHSMSX103.ccr.corp.intel.com \
--to=yanmin.zhang@intel.com \
--cc=afzal.mohd.ma@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=longx.zhang@intel.com \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
/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®