Messages in this thread | | | Subject | Re: [PATCH RFC] reduce runqueue lock contention | From | Peter Zijlstra <> | Date | Mon, 21 Jun 2010 15:04:39 +0200 |
| |
On Mon, 2010-06-21 at 12:54 +0200, Peter Zijlstra wrote: > > It looses the ttwu task_running() check, as I must admit I'm not quite > > sure what it does.. Ingo?
I think I figured out what its for, its for when p is prev in schedule() after deactivate_task(), we have to call activate_task() it again, but we cannot migrate the task because the CPU its on is still referencing it.
I added it back, but still fireworks :-)
| |