svn commit: r225860 - user/adrian/if_ath_tx/sys/mips/mips
Adrian Chadd
adrian at freebsd.org
Thu Sep 29 09:05:48 UTC 2011
On 29 September 2011 15:45, Alexander Motin <mav at freebsd.org> wrote:
> I think that's not good to call intr_disable() before cpu_idleclock().
> cpu_idleclock() uses spin mutex to serialize timer hardware accesses,
> which disables interrupts. When it enable them back, it will revert
> effect of your intr_disable() also.
.. wait. So spinlocks don't save/restore the interrupt state? They
just enable/disable it?
Adrian
More information about the svn-src-user
mailing list