From: "Oza (Pawandeep) Oza" <oza@broadcom.com>
To: Mike Galbraith <umgwanakikbuti@gmail.com>,
pawandeep oza <oza.contri.linux.kernel@gmail.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"malayasen rout" <malayasen.rout@gmail.com>
Subject: RE: [KERNEL BUG] do_timer/tick_handover_do_timer 3.10.17
Date: Thu, 7 May 2015 04:37:56 +0000 [thread overview]
Message-ID: <5C6899BCED92C94EBDCC00F80838E3D52113A83F@SJEXCHMB06.corp.ad.broadcom.com> (raw)
In-Reply-To: <1430968960.2955.45.camel@gmail.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1598 bytes --]
Hi Mike,
Let me explain the problem again.
Problem Statement: the timkeeping is stopped, do_timer is no more a job of cpu0.
The reason: the variable "tick_do_timer_cpu" is not set to correct CPU (cpu0)
And when BUG() happens, the tick_do_timer_cpu variable stay set to 1, 2 or 3 (we have 4 cores)
And finally any code running on core0 (which relies on jiffies incrementing) doesnât work because there is nobody to increment jiffies.
There is tick_handover_do_timer, and if that is called then things are fine, but that is also not getting called because it is tightly coupled with hotplug.
since cpu_down is not getting called, this handover is not happening. and the last status of the variable tick_do_timer_cpu is always
pointing to DEAD cpu (1,2 or 3). and core0 waits forever (where if the code relies on the increment of jiffies).
Regards,
-Oza
-----Original Message-----
From: Mike Galbraith [mailto:umgwanakikbuti@gmail.com]
Sent: Thursday, May 07, 2015 8:53 AM
To: pawandeep oza
Cc: linux-kernel@vger.kernel.org; malayasen rout; Oza (Pawandeep) Oza
Subject: Re: [KERNEL BUG] do_timer/tick_handover_do_timer 3.10.17
On Wed, 2015-05-06 at 22:57 +0530, pawandeep oza wrote:
> but when say core0 has raised BUG..
...
> what is the right way to approach this problem
Look at the spot BUG() printed? BUG() means "Way to go slick, the code
you fed me (file:line) is toxic. Have a nice day, your ex-buddy core0".
-Mike
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
next prev parent reply other threads:[~2015-05-07 4:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-06 17:27 pawandeep oza
2015-05-07 3:22 ` Mike Galbraith
2015-05-07 4:37 ` Oza (Pawandeep) Oza [this message]
2015-05-07 5:08 ` Mike Galbraith
2015-05-07 5:12 ` Oza (Pawandeep) Oza
2015-05-07 5:54 ` Mike Galbraith
2015-05-07 5:58 ` Oza (Pawandeep) Oza
2015-05-07 6:54 ` Mike Galbraith
2015-05-07 7:05 ` Oza (Pawandeep) Oza
2015-05-07 8:29 ` Mike Galbraith
2015-05-07 8:47 ` Oza (Pawandeep) Oza
2015-05-08 4:16 ` Oza (Pawandeep) Oza
2015-05-08 5:12 ` Mike Galbraith
2015-05-08 5:21 ` Oza (Pawandeep) Oza
2015-05-07 8:19 ` Oza (Pawandeep) Oza
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=5C6899BCED92C94EBDCC00F80838E3D52113A83F@SJEXCHMB06.corp.ad.broadcom.com \
--to=oza@broadcom.com \
--cc=linux-kernel@vger.kernel.org \
--cc=malayasen.rout@gmail.com \
--cc=oza.contri.linux.kernel@gmail.com \
--cc=umgwanakikbuti@gmail.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®