Re: CFS related question

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Saturday, October 18, 2008 - 1:28 pm

On Sun, 2008-10-19 at 00:03 +0400, Cyrill Gorcunov wrote:

pick_next_entity() only returns NULL when !first_fair(), which is when !
nr_running.

So the initial !nr_running check in pick_next_task_fair() will catch
that. Further nested RQs will never have !nr_running because then they
get dequeued.



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

Messages in current thread:
CFS related question, Cyrill Gorcunov, (Sat Oct 18, 1:03 pm)
Re: CFS related question, Peter Zijlstra, (Sat Oct 18, 1:28 pm)
Re: CFS related question, Cyrill Gorcunov, (Sat Oct 18, 10:29 pm)
Re: CFS related question, Hiroshi Shimamoto, (Mon Oct 20, 11:12 am)
Re: CFS related question, Cyrill Gorcunov, (Mon Oct 20, 11:20 am)