Re: [PATCH] gettimeofday stability
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2001-04-16 13:25:03
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2001-04-16 13:25:03
Yes, currently the decrementer interrupt assumes that it is the only user.
This is quite simple however, use a while() {} instead of a do {}
while() in the loop that catches up on pending decrementer interrupts.Paulus already pushed such a patch to the bk repository (last week I think). He rewrote the pmac lost_interrupts stuff to use the DEC to cause interrupts. Ben. ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/