* Kirill Tkhai <ktk...@parallels.com> [2014-06-25 12:19:55]:

> 
> 1)Iterate thru all of threads in the system.
>   Check for all threads, not only for group leaders.
> 
> 2)Check for p->on_rq instead of p->state and cputime.
>   Preempted task in !TASK_RUNNING state  OR just
>   created task may be queued, that we want to be
>   reported too.
> 
> 3)Use read_lock() instead of write_lock().
>   This function does not change any structures, and
>   read_lock() is enough.
> 
> Signed-off-by: Kirill Tkhai <ktk...@parallels.com>
> CC: Konstantin Khorenko <khore...@parallels.com>
> CC: Ben Segall <bseg...@google.com>
> CC: Paul Turner <p...@google.com>
> CC: Srikar Dronamraju <sri...@linux.vnet.ibm.com>
> CC: Mike Galbraith <umgwanakikb...@gmail.com>
> CC: Peter Zijlstra <pet...@infradead.org>
> CC: Ingo Molnar <mi...@kernel.org>
> ---
 
Reviewed-by: Srikar Dronamraju <sri...@linux.vnet.ibm.com>

-- 
Thanks and Regards
Srikar Dronamraju

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to