2011/9/4 Attilio Rao <atti...@freebsd.org>:
> Author: attilio
> Date: Sun Sep  4 13:07:02 2011
> New Revision: 225372
> URL: http://svn.freebsd.org/changeset/base/225372
>
> Log:
>  Interrupts are disabled/enabled when entering and exiting the KDB context.
>  While this is generally good, it brings along a serie of problems,
>  like clocks going off sync and in presence of SW_WATCHDOG, watchdogs
>  firing without a good reason (missed hardclock wdog ticks update).

Also please notice that intr enable/disable happens in the wrong way
as it is done via the MD (x86 specific likely) interface. This is
wrong for 2 reasons:
1) There may be some codepaths leading to explicit preemption
2) It should  really use an MI interface

The right way to do this should be via spinlock_enter().

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to