Re: preemption across processors

2002-05-29 Thread John Baldwin
On 29-May-2002 Seigo Tanimura wrote: >>> And the p4 depot >>> >>> //depot/user/tanimura/ippreempt/... >>> >>> The patch is for only i386 at the moment. >>> >>> The following is the brief description of the patch: > > jhb> I would prefer that this was hung off the preemption stuff I've alread

Re: preemption across processors

2002-05-29 Thread Seigo Tanimura
On Wed, 29 May 2002 16:13:13 +0900, Seigo Tanimura <[EMAIL PROTECTED]> said: tanimura> Maybe we can solve both of the issues above by roughly checking if a tanimura> thread can keep spinning without acquiring any locks, in the similar tanimura> way as we do for a spin mutex. First, test the fo

Re: preemption across processors

2002-05-28 Thread Seigo Tanimura
On Tue, 28 May 2002 14:56:04 -0400 (EDT), John Baldwin <[EMAIL PROTECTED]> said: >> The prototype patch is at: >> >> http://people.FreeBSD.org/~tanimura/patches/ippreempt.diff.gz >> >> And the p4 depot >> >> //depot/user/tanimura/ippreempt/... >> >> The patch is for only i386 at the moment.

Re: preemption across processors

2002-05-28 Thread John Baldwin
> The prototype patch is at: > > http://people.FreeBSD.org/~tanimura/patches/ippreempt.diff.gz > > And the p4 depot > > //depot/user/tanimura/ippreempt/... > > The patch is for only i386 at the moment. > > The following is the brief description of the patch: I would prefer that this was hun

Re: preemption across processors

2002-05-28 Thread Seigo Tanimura
On Wed, 15 May 2002 08:21:46 -0400 (EDT), John Baldwin <[EMAIL PROTECTED]> said: jhb> On 15-May-2002 Seigo Tanimura wrote: >> Currently, a new runnable thread cannot preempt the thread on any >> processor other than the thread that called mi_switch(). For >> instance, we do something like the

RE: preemption across processors

2002-05-15 Thread John Baldwin
On 15-May-2002 Seigo Tanimura wrote: > Currently, a new runnable thread cannot preempt the thread on any > processor other than the thread that called mi_switch(). For > instance, we do something like the following in _mtx_unlock_sleep(): > > --- v --- _mtx_unlock_sleep() --- v --- > setrunqueu