cvs commit: src/sys/kern kern_switch.c sched_4bsd.c

Stephan Uphoff ups at freebsd.org
Fri Jun 10 02:45:15 GMT 2005


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



More information about the cvs-src mailing list