svn commit: r225860 - user/adrian/if_ath_tx/sys/mips/mips

Alexander Motin mav at FreeBSD.org
Thu Sep 29 08:48:37 UTC 2011


Adrian Chadd wrote:
> .. yes, spinlock_enter() / spinlock_exit() in mips does save/restore
> the interrupt context.
> So if they were disabled, they should continue being disabled.

Ah, sorry, probably I've mixed it with something else. But still I see
no reason to cover all the critical section with the disabled
interrupts. It will just increase race window before the wait
instruction and increase problem hit probability.

-- 
Alexander Motin


More information about the svn-src-user mailing list