Re: [PATCH v2 3/6] sched: make double-lock-balance fair

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Wednesday, August 27, 2008 - 3:56 am

On Wed, Aug 27, 2008 at 12:41:08PM +0200, Peter Zijlstra wrote:
 

Although I guess we could prefetch it... But OTOH I don't know exactly
what Intel CPUs do with prefetch -- I don't think they have a prefetchw.

I would support your idea if it is faster, of course ;)


 
Right. My reasoning said that if our critical sections are short enough,
*and not subject to starvation*, then we should not really need it, and
at any rate often it is just luck if it helps because in other cases
we might be taking the lock under an irq save region so it wouldn't help
there...



Hmm, you might have a good point there. Greg?

BTW. I wonder about other architectures that are of interest to -rt? Like
mips or arm perhaps... Any plans to implement ticket locks on those, or
do they not tend to be used in SMP configurations on -rt yte?

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/5] sched: misc rt fixes for tip/sched/devel, Gregory Haskins, (Mon Aug 25, 1:15 pm)
[PATCH 3/5] sched: make double-lock-balance fair, Gregory Haskins, (Mon Aug 25, 1:15 pm)
Re: [PATCH 3/5] sched: make double-lock-balance fair, Nick Piggin, (Mon Aug 25, 11:14 pm)
Re: [PATCH 3/5] sched: make double-lock-balance fair, Gregory Haskins, (Tue Aug 26, 5:23 am)
[PATCH v2 0/6] Series short description, Gregory Haskins, (Tue Aug 26, 10:34 am)
[PATCH v2 3/6] sched: make double-lock-balance fair, Gregory Haskins, (Tue Aug 26, 10:35 am)
Re: [PATCH 3/5] sched: make double-lock-balance fair, Nick Piggin, (Tue Aug 26, 11:36 pm)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Peter Zijlstra, (Wed Aug 27, 1:21 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Peter Zijlstra, (Wed Aug 27, 1:25 am)
Re: [PATCH v2 0/6] Series short description, Peter Zijlstra, (Wed Aug 27, 1:33 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Peter Zijlstra, (Wed Aug 27, 3:41 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Nick Piggin, (Wed Aug 27, 3:56 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Peter Zijlstra, (Wed Aug 27, 4:07 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Russell King, (Wed Aug 27, 4:17 am)
Re: [PATCH 3/5] sched: make double-lock-balance fair, Gregory Haskins, (Wed Aug 27, 4:41 am)
Re: [PATCH 3/5] sched: make double-lock-balance fair, Nick Piggin, (Wed Aug 27, 4:53 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Gregory Haskins, (Wed Aug 27, 5:00 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Gregory Haskins, (Wed Aug 27, 5:02 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Gregory Haskins, (Wed Aug 27, 5:03 am)
Re: [PATCH 3/5] sched: make double-lock-balance fair, Gregory Haskins, (Wed Aug 27, 5:10 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Gregory Haskins, (Wed Aug 27, 5:13 am)
Re: [PATCH v2 3/6] sched: make double-lock-balance fair, Ralf Baechle, (Fri Aug 29, 5:49 am)
[TIP/SCHED/DEVEL PATCH v3 0/6] sched: misc rt fixes, Gregory Haskins, (Thu Sep 4, 5:54 am)