Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2009 14:59:09 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193094 - head/sys/i386/xen
Message-ID:  <200905301459.n4UEx9xV011001@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 	}
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905301459.n4UEx9xV011001>