Adrian Chadd wrote:
> .. and somehow linux mips code does do a variety of WAIT-y things; how
> is it they don't have the interrupt handling issues we do?
> Is it because they're doing preemption? If so, how do they accurately
> handle hz clock pulses when an interrupt may preempt things just
> before that wait instruction occurs?
I may be wrong, it was time ago, but I think I've seen they doing some
timer stuff within each interrupt handler. FreeBSD neither has unified
place to do it now, nor I much like to add some overhead to every
possible interrupt in a system. Present implementation supposed to be a