Messages in this thread |  | | | Date | Tue, 01 Mar 2011 22:52:10 -0500 | | From | Rik van Riel <> | | Subject | Re: [PATCH] sched: resched proper CPU on yield_to |
| |
On 03/01/2011 07:28 PM, Venkatesh Pallipadi wrote: > yield_to_task_fair() has code to resched the CPU of yielding task when the > intention is to resched the CPU of the task that is being yielded to. > > Change here fixes the problem and also makes the resched conditional on > rq != p_rq. > > I don't have a setup to test this code path. So, this is only compile tested > right now. > > Signed-off-by: Venkatesh Pallipadi<venki@google.com>
Never mind what I wrote before. Your patch is correct. (and I am way tired)
Reviewed-by: Rik van Riel <riel@redhat.com>
-- All rights reversed
|  |