From owner-cvs-all@FreeBSD.ORG Thu Jan 11 00:17:03 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E2B716A415; Thu, 11 Jan 2007 00:17:03 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 6F65B13C43E; Thu, 11 Jan 2007 00:17:03 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l0B0H34e095139; Thu, 11 Jan 2007 00:17:03 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l0B0H3fm095138; Thu, 11 Jan 2007 00:17:03 GMT (envelope-from jeff) Message-Id: <200701110017.l0B0H3fm095138@repoman.freebsd.org> From: Jeff Roberson Date: Thu, 11 Jan 2007 00:17:02 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/i386/i386 mp_machdep.c src/sys/amd64/amd64 mp_machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jan 2007 00:17:03 -0000 jeff 2007-01-11 00:17:02 UTC FreeBSD src repository Modified files: sys/i386/i386 mp_machdep.c sys/amd64/amd64 mp_machdep.c Log: - Use the correct test in the ipi bitmask handler for IPI_PREEMPT so that we actually issue preemptions. - Remove the #ifdef IPI_PREEMPTION so it is always compiled in. Leave the option which optionally enables support in sched_4bsd. sched_ule.c will soon use this functionality as a run time rather than compile time option. - Compare against the idlethread rather than the priority. There are some idle prio tasks that we can preempt. Discussed with: ups Tested on: i386, amd64 Revision Changes Path 1.279 +2 -4 src/sys/amd64/amd64/mp_machdep.c 1.272 +3 -9 src/sys/i386/i386/mp_machdep.c