Messages in this thread | | | Date | Thu, 10 Apr 2014 22:55:11 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH 1/5] sched: Convert thread_group_cputime() to use for_each_thread() |
| |
On Thu, Apr 10, 2014 at 09:15:25PM +0200, Oleg Nesterov wrote: > So far I can see only 2 users, __exit_signal() and complete_signal().
If that's it we could just open-code them and be done.
> May be next_tid(), but in fact it needs next_thread_or_zero(). And this > connects to check_hung_task(). What they actually (OK, perhaps) need is > for_each_thread_continue, like list_for_each_entry_continue_rcu.
That could work I suppose; brain has left the building already..
> We will see. I didn't finish this all because I was distracted (and lazy > of course ;).
:-)
| |