2010/1/30 Marius Strobl :
> On Sat, Jan 30, 2010 at 04:22:47PM +0100, Attilio Rao wrote:
>> 2010/1/30 Marius Strobl :
>> >
>> > I think the idea behind using sched_lock in the sparc64 code is
>> > to piggyback on it for protecting the pmap and take advantage of
>> > the fact that it's held across c
On Sat, Jan 30, 2010 at 04:22:47PM +0100, Attilio Rao wrote:
> 2010/1/30 Marius Strobl :
> >
> > I think the idea behind using sched_lock in the sparc64 code is
> > to piggyback on it for protecting the pmap and take advantage of
> > the fact that it's held across cpu_switch() anyway. If that's
> >
2010/1/30 Marius Strobl :
> On Thu, Jan 28, 2010 at 11:16:55AM +0100, Attilio Rao wrote:
>> 2010/1/27 Marius Strobl :
>> > On Tue, Jan 26, 2010 at 08:10:25AM +0100, Attilio Rao wrote:
>> >> 2010/1/26 Rob Farmer :
>> >> > On Sat, Jan 23, 2010 at 7:54 AM, Attilio Rao
>> >> > wrote:
>> >> >> Author:
On Thu, Jan 28, 2010 at 11:16:55AM +0100, Attilio Rao wrote:
> 2010/1/27 Marius Strobl :
> > On Tue, Jan 26, 2010 at 08:10:25AM +0100, Attilio Rao wrote:
> >> 2010/1/26 Rob Farmer :
> >> > On Sat, Jan 23, 2010 at 7:54 AM, Attilio Rao wrote:
> >> >> Author: attilio
> >> >> Date: Sat Jan 23 15:54:21
2010/1/27 Marius Strobl :
> On Tue, Jan 26, 2010 at 08:10:25AM +0100, Attilio Rao wrote:
>> 2010/1/26 Rob Farmer :
>> > On Sat, Jan 23, 2010 at 7:54 AM, Attilio Rao wrote:
>> >> Author: attilio
>> >> Date: Sat Jan 23 15:54:21 2010
>> >> New Revision: 202889
>> >> URL: http://svn.freebsd.org/change
On Tue, Jan 26, 2010 at 08:10:25AM +0100, Attilio Rao wrote:
> 2010/1/26 Rob Farmer :
> > On Sat, Jan 23, 2010 at 7:54 AM, Attilio Rao wrote:
> >> Author: attilio
> >> Date: Sat Jan 23 15:54:21 2010
> >> New Revision: 202889
> >> URL: http://svn.freebsd.org/changeset/base/202889
> >>
> >> Log:
> >
On Tuesday 26 January 2010 4:20:46 pm Attilio Rao wrote:
> 2010/1/26 John Baldwin :
> > On Tuesday 26 January 2010 3:09:32 pm M. Warner Losh wrote:
> >> In message:
> >> Marcel Moolenaar writes:
> >> : Maybe what is in order right now is a description (using pseudo
> >> : code if you
2010/1/26 John Baldwin :
> On Tuesday 26 January 2010 3:09:32 pm M. Warner Losh wrote:
>> In message:
>> Marcel Moolenaar writes:
>> : Maybe what is in order right now is a description (using pseudo
>> : code if you like) of what exactly needs to happen with the 3rd
>> : argument, whe
On Tuesday 26 January 2010 3:09:32 pm M. Warner Losh wrote:
> In message:
> Marcel Moolenaar writes:
> : Maybe what is in order right now is a description (using pseudo
> : code if you like) of what exactly needs to happen with the 3rd
> : argument, when and how (i.e. what must be ato
In message: <3023270a-755a-4bcf-ac9a-c1f290052...@mac.com>
Marcel Moolenaar writes:
:
: On Jan 26, 2010, at 12:09 PM, M. Warner Losh wrote:
: > cpu_switch(struct thread *old, struct thread *new, struct mutext *mtx)
: > {
: > /* Save the registers to the pcb */
: > old->td_lock
On Jan 26, 2010, at 12:09 PM, M. Warner Losh wrote:
> cpu_switch(struct thread *old, struct thread *new, struct mutext *mtx)
> {
> /* Save the registers to the pcb */
> old->td_lock = mtx;
> #if defined(SMP) && defined(SCHED_ULE)
> /* s/long/int/ if sizeof(long) != sizeof(void *)
In message:
Marcel Moolenaar writes:
:
: On Jan 26, 2010, at 3:39 AM, Attilio Rao wrote:
: >>>
: >>> Does this affect the various #ifdef's for handling the third argument to
: >>> cpu_switch()? E.g. does 4BSD need to spin if td_lock is &blocked_lock?
: >>>
: >
: > I think that ia
On Jan 26, 2010, at 3:39 AM, Attilio Rao wrote:
>>>
>>> Does this affect the various #ifdef's for handling the third argument to
>>> cpu_switch()? E.g. does 4BSD need to spin if td_lock is &blocked_lock?
>>>
>
> I think that ia64 is broken on that regard because it does use simple
> operation
On Tuesday 26 January 2010 3:58:45 am Attilio Rao wrote:
> Finally, I really don't think the BLOCK_SPIN() performance improvement
> you suggest should really make a difference (assuming how rarely it
> should happen) because, please note, that the cmpxchg is necessary as
> we need to enforce a memo
2010/1/26 Attilio Rao :
> 2010/1/25 John Baldwin :
>> On Saturday 23 January 2010 10:54:22 am Attilio Rao wrote:
>>> Author: attilio
>>> Date: Sat Jan 23 15:54:21 2010
>>> New Revision: 202889
>>> URL: http://svn.freebsd.org/changeset/base/202889
>>>
>>> Log:
>>> - Fix a race in sched_switch() of
2010/1/25 John Baldwin :
> On Saturday 23 January 2010 10:54:22 am Attilio Rao wrote:
>> Author: attilio
>> Date: Sat Jan 23 15:54:21 2010
>> New Revision: 202889
>> URL: http://svn.freebsd.org/changeset/base/202889
>>
>> Log:
>> - Fix a race in sched_switch() of sched_4bsd.
>> In the case of
2010/1/26 Rob Farmer :
> On Sat, Jan 23, 2010 at 7:54 AM, Attilio Rao wrote:
>> Author: attilio
>> Date: Sat Jan 23 15:54:21 2010
>> New Revision: 202889
>> URL: http://svn.freebsd.org/changeset/base/202889
>>
>> Log:
>> - Fix a race in sched_switch() of sched_4bsd.
>> In the case of the threa
On Sat, Jan 23, 2010 at 7:54 AM, Attilio Rao wrote:
> Author: attilio
> Date: Sat Jan 23 15:54:21 2010
> New Revision: 202889
> URL: http://svn.freebsd.org/changeset/base/202889
>
> Log:
> - Fix a race in sched_switch() of sched_4bsd.
> In the case of the thread being on a sleepqueue or a turn
On Saturday 23 January 2010 10:54:22 am Attilio Rao wrote:
> Author: attilio
> Date: Sat Jan 23 15:54:21 2010
> New Revision: 202889
> URL: http://svn.freebsd.org/changeset/base/202889
>
> Log:
> - Fix a race in sched_switch() of sched_4bsd.
> In the case of the thread being on a sleepqueue
Author: attilio
Date: Sat Jan 23 15:54:21 2010
New Revision: 202889
URL: http://svn.freebsd.org/changeset/base/202889
Log:
- Fix a race in sched_switch() of sched_4bsd.
In the case of the thread being on a sleepqueue or a turnstile, the
sched_lock was acquired (without the aid of the td_
20 matches
Mail list logo