Messages in this thread | | | From | Frederic Weisbecker <> | Subject | [PATCH 0/5] core: Convert thread iteration to use for_each[_process]_thread APIs, 1st pile | Date | Wed, 9 Apr 2014 18:11:17 +0200 |
| |
Hi,
This is the first pile of a longer series that convert deprecated and RCU-unsafe thread group iterators (do_each_thread, while_each_thread) to use for_each_thread/for_each_process_thread RCU-safe iterators that have been introduced by Oleg.
for_each[_process]_thread() is already upstream so these patches don't depend on any pending preparatory work.
So ideally it would be nice if maintainers cherry-pick the patches corresponding to their own subsystem.
Thanks, Frederic ---
Frederic Weisbecker (5): sched: Convert thread_group_cputime() to use for_each_thread() tracepoint: Convert process iteration to use for_each_process_thread() hung_task: Convert process iteration to use for_each_process_thread() procfs: Convert process iteration to use for_each_thread() sched: Convert tasks iteration to use for_each_process_thread()
fs/proc/array.c | 7 ++++--- fs/proc/base.c | 4 ++-- kernel/hung_task.c | 8 ++++---- kernel/sched/core.c | 13 ++++++------- kernel/sched/cputime.c | 13 ++++++------- kernel/tracepoint.c | 12 ++++++------ 6 files changed, 28 insertions(+), 29 deletions(-)
| |