Re: [PATCH 3/5] hung_task: Convert process iteration to use for_each_process_thread()

2014-04-09 Thread Oleg Nesterov
On 04/09, Frederic Weisbecker wrote: > > @@ -167,18 +167,18 @@ static void check_hung_uninterruptible_tasks(unsigned > long timeout) > return; > > rcu_read_lock(); > - do_each_thread(g, t) { > + for_each_process_thread(p, t) { > if (!max_count--) >

[PATCH 3/5] hung_task: Convert process iteration to use for_each_process_thread()

2014-04-09 Thread Frederic Weisbecker
do_each_thread/while_each_thread iterators are deprecated by for_each_thread/for_each_process_thread() APIs. Lets convert the callers in the hung task detector code. The ultimate goal is to remove the struct task_struct::thread_group field and the corresponding do_each_thread/while_each_thread ite