From owner-cvs-src@FreeBSD.ORG  Fri Jun 10 02:45:14 2005
Return-Path: <owner-cvs-src@FreeBSD.ORG>
X-Original-To: cvs-src@freebsd.org
Delivered-To: cvs-src@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DF38016A41C
	for <cvs-src@freebsd.org>; Fri, 10 Jun 2005 02:45:14 +0000 (GMT)
	(envelope-from ups@freebsd.org)
Received: from smtp.speedfactory.net (talon.speedfactory.net [66.23.216.215])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E844343D49
	for <cvs-src@freebsd.org>; Fri, 10 Jun 2005 02:45:13 +0000 (GMT)
	(envelope-from ups@freebsd.org)
Received: (qmail 21353 invoked from network); 10 Jun 2005 02:45:12 +0000
Received: from 66-23-216-49.clients.speedfactory.net (HELO palm.tree.com)
	(66.23.216.49)
	by smtp.speedfactory.net with AES256-SHA encrypted SMTP;
	10 Jun 2005 02:45:12 +0000
Received: from [127.0.0.1] (ups@localhost.tree.com [127.0.0.1])
	by palm.tree.com (8.12.10/8.12.10) with ESMTP id j5A2j1pP096429;
	Thu, 9 Jun 2005 22:45:02 -0400 (EDT) (envelope-from ups@freebsd.org)
From: Stephan Uphoff <ups@freebsd.org>
To: John Baldwin <jhb@freebsd.org>
In-Reply-To: <00b08fa8e580e95a2c5ecd95c54a9805@FreeBSD.org>
References: <200506091826.j59IQVMe054446@repoman.freebsd.org>
	<00b08fa8e580e95a2c5ecd95c54a9805@FreeBSD.org>
Content-Type: text/plain
Message-Id: <1118371501.27369.45718.camel@palm>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.6 
Date: Thu, 09 Jun 2005 22:45:01 -0400
Content-Transfer-Encoding: 7bit
Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject: Re: cvs commit: src/sys/kern kern_switch.c sched_4bsd.c
X-BeenThere: cvs-src@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-src>
List-Post: <mailto:cvs-src@freebsd.org>
List-Help: <mailto:cvs-src-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Jun 2005 02:45:15 -0000

On Thu, 2005-06-09 at 19:28, John Baldwin wrote:
> On Jun 9, 2005, at 11:26 AM, Stephan Uphoff wrote:
> 
> > ups         2005-06-09 18:26:31 UTC
> >
> >   FreeBSD src repository
> >
> >   Modified files:
> >     sys/kern             kern_switch.c sched_4bsd.c
> >   Log:
> >   Fix some race conditions for pinned threads that may cause them to 
> > run
> >   on the wrong CPU.
> >
> >   Add IPI support for preempting a thread on another CPU.
> >
> >   MFC after:3 weeks
> 
> Note that this breaks the compile on non x86 when PREEMPTION isn't on

I compiled/tested it also without PREEMPTION on x86.
Could you send me the error message?

>  
> btw.  Alpha has supported preemption at times (I need to test it again 
> and turn it on if it is safe now).

Good - could you also add the IPI_PREEMPT magic to the IPI handler if it
works?

Thanks
Stephan