Re: [PATCH RT] push RT tasks when overloaded (via schedule)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Peter Zijlstra <a.p.zijlstra@...>
Cc: RT <linux-rt-users@...>, LKML <linux-kernel@...>, Ingo Molnar <mingo@...>, Thomas Gleixner <tglx@...>, Gregory Haskins <ghaskins@...>
Date: Friday, October 12, 2007 - 1:00 pm

--
On Fri, 12 Oct 2007, Peter Zijlstra wrote:


Neither am I, but I want testing first ;-)


Hehe, I originally had it that name (well without the lock). But I need
both the found cpu and the rq.  So instead of passing in a pointer to the
dst_cpu I just returned it, since it was simple to do a cpu_rq(). But if
you find this too grotesque, I can just return the cpu via a pointer.



That's what I originally did.


And here is where i need the dst_cpu. Do you prefer that I pass in the
cpu as a pointer? or just simply use lowest_rq->cpu. I guess that would
work too.


In my tree (2.6.23-rt1) it is just a spin_unlock().

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

Messages in current thread:
[PATCH RT] push RT tasks when overloaded (via schedule), Steven Rostedt, (Fri Oct 12, 12:05 pm)
Re: [PATCH RT] push RT tasks when overloaded (via schedule), Peter Zijlstra, (Fri Oct 12, 12:39 pm)
Re: [PATCH RT] push RT tasks when overloaded (via schedule), Steven Rostedt, (Fri Oct 12, 1:00 pm)