From owner-svn-src-head@FreeBSD.ORG Sat May 30 14:59:09 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 496281065670; Sat, 30 May 2009 14:59:09 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 37B318FC1B; Sat, 30 May 2009 14:59:09 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4UEx9Yv011002; Sat, 30 May 2009 14:59:09 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4UEx9xV011001; Sat, 30 May 2009 14:59:09 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <200905301459.n4UEx9xV011001@svn.freebsd.org> From: Adrian Chadd Date: Sat, 30 May 2009 14:59:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r193094 - head/sys/i386/xen X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 May 2009 14:59:09 -0000 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); } }