eventtimer issue on mips: temporary workaround

Adrian Chadd adrian at freebsd.org
Thu Sep 29 07:21:44 UTC 2011


On 29 September 2011 14:49, Juli Mallett <jmallett at freebsd.org> wrote:

> If I'm understanding right, that's much of the thrust of the problem.
> I mean, we can check whether a non-masked interrupt was asserted
> before doing the wait, but there's still a window between that and the
> wait.  It sounds like we need a conditional wait instruction, which is

Yes. That's absolutely right.

> to say it sounds like the code does need a rethink for MIPS (although
> why "wait" wouldn't return immediately if there's a non-masked
> interrupt asserted is beyond me.)  But I'm still somewhat confused by
> the original post, so may be missing the mark on that.

No, I think you have it.



Adrian


More information about the freebsd-mips mailing list