svn commit: r193094 - head/sys/i386/xen

Adrian Chadd adrian at FreeBSD.org
Sat May 30 14:59:09 UTC 2009


Author: adrian
Date: Sat May 30 14:59:08 2009
New Revision: 193094
URL: http://svn.freebsd.org/changeset/base/193094

Log:
  Don't schedule a CALL_FUNCTION_VECTOR software IPI if the IPI was signaled
  via the bitmap (and thus sent via RESCHEDULE_VECTOR.)

Modified:
  head/sys/i386/xen/mp_machdep.c

Modified: head/sys/i386/xen/mp_machdep.c
==============================================================================
--- head/sys/i386/xen/mp_machdep.c	Sat May 30 14:01:01 2009	(r193093)
+++ head/sys/i386/xen/mp_machdep.c	Sat May 30 14:59:08 2009	(r193094)
@@ -1132,10 +1132,10 @@ ipi_selected(cpumask_t cpus, u_int ipi)
 				ipi_pcpu(cpu, RESCHEDULE_VECTOR);
 			continue;
 			
+		} else {
+			KASSERT(call_data != NULL, ("call_data not set"));
+			ipi_pcpu(cpu, CALL_FUNCTION_VECTOR);
 		}
-		
-		KASSERT(call_data != NULL, ("call_data not set"));
-		ipi_pcpu(cpu, CALL_FUNCTION_VECTOR);
 	}
 }
 


More information about the svn-src-all mailing list