[PATCH 0/5] core: Convert thread iteration to use for_each[_process]_thread APIs, 1st pile

From: Frederic Weisbecker
Date: Wed Apr 09 2014 - 12:16:36 EST


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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/