Re: [PATCH] gettimeofday stability
From: Gabriel Paubert <hidden>
Date: 2001-04-16 12:53:32
On Mon, 16 Apr 2001, Benjamin Herrenschmidt wrote:
quoted
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.
Fine. I have no problem with using the decrementer as a "please interrupt me asap" request... And it is nice to see some of the bloat of unmasking interrupts go away with this (not that this affects me much though, my sources were patched). I still object strongly to anything touching the timebase, however. Regards, Gabriel. ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/