Re: Pre-emption and kernel/softlockup.c softlockup_tick()

2009-01-07 Thread Mulyadi Santosa
Hi... On Tue, Jan 6, 2009 at 10:10 PM, Adrian Cornish wrote: >> Hm,from the function's comment: >> >> /* >> *This callback runs from the timer interrupt, and checks >> * whether the watchdog thread has hung or not: >> */ >> >> that means,it runs in interrupt context, thus AFAIK it won't >> be p

RE: Pre-emption and kernel/softlockup.c softlockup_tick()

2009-01-06 Thread Adrian Cornish
> Hm,from the function's comment: > > /* > *This callback runs from the timer interrupt, and checks > * whether the watchdog thread has hung or not: > */ > > that means,it runs in interrupt context, thus AFAIK it won't > be preempted. Thanks Mulyadi. If I wanted to trace back through the code

Re: Pre-emption and kernel/softlockup.c softlockup_tick()

2009-01-06 Thread Mulyadi Santosa
Hi... On Tue, Jan 6, 2009 at 8:42 PM, Adrian Cornish wrote: > I am investigating why on 1 particular machine we get these soft lockup > errors. > > When looking at following code in kernel/softlockup.c is it possible for > the touch time stamps get swapped over due to pre-emption and the wrong >

Pre-emption and kernel/softlockup.c softlockup_tick()

2009-01-06 Thread Adrian Cornish
I am investigating why on 1 particular machine we get these soft lockup errors. When looking at following code in kernel/softlockup.c is it possible for the touch time stamps get swapped over due to pre-emption and the wrong touch_timestamp is compared against wrong current time, there by causing