Re: svn commit: r225892 - head/sys/mips/mips

[ Available lists | Index of svn-src-all | Month of Oct 2011 | Week of 1 Oct 2011 | Raw email | View thread | Wrap long lines | Reply ]
From
Alexander Motin <mav@FreeBSD.org>
Date
1 Oct 2011 11:13:15
Subject
Re: svn commit: r225892 - head/sys/mips/mips
Message-ID
4E86F033.9040305@FreeBSD.org


[ Hide this part ]
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
compromise.

--
Alexander Motin


Elapsed time: 0.414 seconds