* Kirill Tkhai <[email protected]> [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 <[email protected]> > CC: Konstantin Khorenko <[email protected]> > CC: Ben Segall <[email protected]> > CC: Paul Turner <[email protected]> > CC: Srikar Dronamraju <[email protected]> > CC: Mike Galbraith <[email protected]> > CC: Peter Zijlstra <[email protected]> > CC: Ingo Molnar <[email protected]> > --- Reviewed-by: Srikar Dronamraju <[email protected]>
-- Thanks and Regards Srikar Dronamraju -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

