* [clocksource] jiffies as clocksource kills box
@ 2008-01-15 5:49 Mike Galbraith
2008-01-16 13:54 ` Thomas Gleixner
0 siblings, 1 reply; 3+ messages in thread
From: Mike Galbraith @ 2008-01-15 5:49 UTC (permalink / raw)
To: LKML
[-- Attachment #1: Type: text/plain, Size: 440 bytes --]
Greetings,
Per $subject, echo jiffies > current_clocksource pretty thoroughly kills
my P4 box, and does so with every kernel I have (2.6.22->present). I
can drive the box via mouse clicks and poke around, but trying to select
another clocksource thereafter is nogo.. cat current_clocksource emits
jiffies, and box remains comatose unless prodded.
config attached
-Mike
(I don't miss it, stumbled across while rummaging elsewhere...)
[-- Attachment #2: config.gz --]
[-- Type: application/x-gzip, Size: 13678 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [clocksource] jiffies as clocksource kills box
2008-01-15 5:49 Mike Galbraith
@ 2008-01-16 13:54 ` Thomas Gleixner
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Gleixner @ 2008-01-16 13:54 UTC (permalink / raw)
To: Mike Galbraith; +Cc: LKML, Ingo Molnar, John Stultz, Andrew Morton
On Tue, 15 Jan 2008, Mike Galbraith wrote:
> Greetings,
>
> Per $subject, echo jiffies > current_clocksource pretty thoroughly kills
> my P4 box, and does so with every kernel I have (2.6.22->present). I
> can drive the box via mouse clicks and poke around, but trying to select
> another clocksource thereafter is nogo.. cat current_clocksource emits
> jiffies, and box remains comatose unless prodded.
I guess your box has high resolution timers and/or dynamic ticks
enabled. In that case we really can not switch to jiffies. We also
have to prevent PIT from being selected.
I have a patch pending for the PIT issue. Will add jiffies to this as
well.
We'll fix that in .25 as it requires root user interaction and does
not show up magically.
Thanks,
tglx
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [clocksource] jiffies as clocksource kills box
@ 2008-02-02 13:01 devzero
0 siblings, 0 replies; 3+ messages in thread
From: devzero @ 2008-02-02 13:01 UTC (permalink / raw)
To: tglx; +Cc: linux-kernel
>I have a patch pending for the PIT issue. Will add jiffies to this as
>well.
yes, please.
while trying to analyze a timer issue and learning about that timer stuff, i "killed" my box twice because i didn`t know that "echo jiffies|pit > current_clocksource" is a no-no with dynticks.
this happened with vendor kernel and thought i hit a bug, so i tried vanilla but.....same issue.
not a big one, but that patch would be a time-saver for those who don`t know...
roland
>> Per $subject, echo jiffies > current_clocksource pretty thoroughly kills
>> my P4 box, and does so with every kernel I have (2.6.22->present). I
>> can drive the box via mouse clicks and poke around, but trying to select
>> another clocksource thereafter is nogo.. cat current_clocksource emits
>> jiffies, and box remains comatose unless prodded.
>
>I guess your box has high resolution timers and/or dynamic ticks
>enabled. In that case we really can not switch to jiffies. We also
>have to prevent PIT from being selected.
>
>I have a patch pending for the PIT issue. Will add jiffies to this as
>well.
>
>We'll fix that in .25 as it requires root user interaction and does
>not show up magically.
>
>Thanks,
> tglx
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-02-02 13:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-02 13:01 [clocksource] jiffies as clocksource kills box devzero
-- strict thread matches above, loose matches on Subject: below --
2008-01-15 5:49 Mike Galbraith
2008-01-16 13:54 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox