From: Thomas Gleixner <tglx@linutronix.de>
To: Balaji Rao <balajirrao@gmail.com>
Cc: Jan Engelhardt <jengelh@computergmbh.de>,
Daniel Walker <dwalker@mvista.com>,
linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>
Subject: Re: setting jiffies as the clocksource stops time
Date: Fri, 18 Jan 2008 11:06:48 +0100 (CET) [thread overview]
Message-ID: <alpine.LFD.0.99999.0801181105390.4642@localhost.localdomain> (raw)
In-Reply-To: <200801181141.55837.balajirrao@gmail.com>
On Fri, 18 Jan 2008, Balaji Rao wrote:
> On Friday 18 January 2008 04:04:33 am Jan Engelhardt wrote:
> >
> > On Jan 16 2008 13:20, Daniel Walker wrote:
> > >On Thu, 2008-01-17 at 02:09 +0530, Balaji Rao wrote:
> > >> Hi,
> > >>
> > >> When i set jiffies as the current_clocksource, date(1) tells me
> > >> that wallclock time has stopped, and soon after that, the system
> > >> becomes unresponsive. This is not seen with CONFIG_NO_HZ disabled.
> > >>
> > >> I wonder how can jiffies be used as a clocksource.. Its value
> > >> depends on the tick and when we turn off ticks, we would stop
> > >> incrementing jiffies and when we come come out of idle, we update
> > >> the jiffies by reading the current_clocksource which now is
> > >> 'jiffies', and hence jiffies wouldn't get updated. Could this be
> > >> the explanation ?
> > >
> > >Your right, It can't be used as a clocksource with nohz , and the system
> > >will refuse to automatically switch to it ..
> >
> > I think that manually changing to jiffies by echoing into sysfs
> > should also be prohibited.
> >
> Yea, right. But why not unregister jiffies as a clocksource itself when we get into NO_HZ ? I think it's much cleaner
> provided it has no other consequences.
As I said before. I have a patch lined up for the same issue vs. PIT
clocksource and I'm adding that for jiffies as well. It's just not an
urgent issue, which needs to go into .24
Thanks
tglx
next prev parent reply other threads:[~2008-01-18 10:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-16 20:39 Balaji Rao
2008-01-16 21:20 ` Daniel Walker
2008-01-17 22:34 ` Jan Engelhardt
2008-01-17 22:39 ` Daniel Walker
2008-01-18 6:11 ` Balaji Rao
2008-01-18 10:06 ` Thomas Gleixner [this message]
2008-01-16 21:23 ` Thomas Gleixner
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=alpine.LFD.0.99999.0801181105390.4642@localhost.localdomain \
--to=tglx@linutronix.de \
--cc=balajirrao@gmail.com \
--cc=dwalker@mvista.com \
--cc=jengelh@computergmbh.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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®