login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
17
Re: setting jiffies as the clocksource stops time
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Daniel Walker <dwalker@...>
To: Jan Engelhardt <jengelh@...>
Cc: Balaji Rao <balajirrao@...>, <linux-kernel@...>, Ingo Molnar <mingo@...>, Thomas Gleixner <tglx@...>
Subject:
Re: setting jiffies as the clocksource stops time
Date: Thursday, January 17, 2008 - 6:39 pm
On Thu, 2008-01-17 at 23:34 +0100, Jan Engelhardt wrote:
quoted text
> 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.
Yeah, I wasn't suggesting we shouldn't prevent it .. However, there are tons of way to kill your system by manual changing things .. Daniel --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
setting jiffies as the clocksource stops time
, Balaji Rao
, (Wed Jan 16, 4:39 pm)
Re: setting jiffies as the clocksource stops time
, Daniel Walker
, (Wed Jan 16, 5:20 pm)
Re: setting jiffies as the clocksource stops time
, Jan Engelhardt
, (Thu Jan 17, 6:34 pm)
Re: setting jiffies as the clocksource stops time
, Balaji Rao
, (Fri Jan 18, 2:11 am)
Re: setting jiffies as the clocksource stops time
, Thomas Gleixner
, (Fri Jan 18, 6:06 am)
Re: setting jiffies as the clocksource stops time
, Daniel Walker
, (Thu Jan 17, 6:39 pm)
Re: setting jiffies as the clocksource stops time
, Thomas Gleixner
, (Wed Jan 16, 5:23 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Kamalesh Babulal
[BUG] Linux 2.6.25-rc2 - Kernel Ooops while running dbench
Greg Kroah-Hartman
[PATCH 005/196] Chinese: add translation of SubmittingDrivers
Paul Jackson
Re: cpuset-remove-sched-domain-hooks-from-cpusets
git
:
linux-netdev
:
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Steven Rostedt
Re: -rt scheduling: wakeup bug?
David Miller
Re: [GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
12 users
and
1001 guests
online.
Online users
unsecuredbusin
OrlandoSocialM
firerestore
zeekec
saveyourdaught
etzammit
realestatelapa
MarcusJoh71
lawsuitloanltr
forexrobotbipo
trusten
rockytherobott
Syndicate