Author: avg
Date: Sun Jan 15 22:23:41 2012
New Revision: 230176
URL: http://svn.freebsd.org/changeset/base/230176

Log:
  MFC r228265: critical_exit: ignore td_owepreempt if kdb_active is set

Modified:
  stable/8/sys/kern/kern_switch.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/kern/kern_switch.c
==============================================================================
--- stable/8/sys/kern/kern_switch.c     Sun Jan 15 22:20:52 2012        
(r230175)
+++ stable/8/sys/kern/kern_switch.c     Sun Jan 15 22:23:41 2012        
(r230176)
@@ -200,7 +200,7 @@ critical_exit(void)
 
        if (td->td_critnest == 1) {
                td->td_critnest = 0;
-               if (td->td_owepreempt) {
+               if (td->td_owepreempt && !kdb_active) {
                        td->td_critnest = 1;
                        thread_lock(td);
                        td->td_critnest--;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to