Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: [patch] dvb i2c timeout fix



Michael Hunold <hunold@convergence.de> writes:

> Do you have an idea why this bug was triggered so regularly with the
> architecture you're using?

No, i actually was very surpised that this patch fixes it already.  2.6.x
runs with HZ = 1000, but even given that jiffies shouldn't wrap around
_that_ quickly that it triggers within minutes.

Hmm, unless jiffies don't start at zero but somewhere near the
wraparound in 2.6.  That would also explain why 2.4 and 2.6 show
different behaviour.

Also note that on hammer long is 64bit and int is 32bit, so the type
mismatch "int timeout" vs. "long jiffies" certainly leads to problems
once jiffies are large enougth.

  Gerd

-- 
You have a new virus in /var/mail/kraxel


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index