svn commit: r225372 - head/sys/kern
attilio at freebsd.org
Sun Sep 4 13:09:20 UTC 2011
2011/9/4 Attilio Rao <attilio at freebsd.org>:
> Author: attilio
> Date: Sun Sep 4 13:07:02 2011
> New Revision: 225372
> URL: http://svn.freebsd.org/changeset/base/225372
> 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().
Peace can only be achieved by understanding - A. Einstein
More information about the svn-src-all