Skip to content

introduce for_each_process_thread_{break,continue}() helpers

Oleg Nesterov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3introduce for_each_process_thread_{break,continue}() helpersinclude/linux/sched.h kernel/exit.c+52 -03 replies
2/3hung_task.c: change rcu_lock_break() code to use for_each_process_thread_break/continuekernel/hung_task.c+9 -160 replies
3/3hung_task.c: change the "max_count" code to use for_each_process_thread_break/continuekernel/hung_task.c+18 -40 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchThomas Gleixner
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] introduce for_each_process_thread_{break,continue}() helpers

Hello,

IMHO this makes sense in any case, but mostly this is preparation for another change: show_state_filter() should be preemptible. But this needs more discussion, I'll write another email/patch when I fully understand the hard-lockup caused by sysrq-t.

Oleg.

 include/linux/sched.h | 10 ++++++++++
 kernel/exit.c         | 42 ++++++++++++++++++++++++++++++++++++++++++
 kernel/hung_task.c    | 41 ++++++++++++++++++++++++-----------------
 3 files changed, 76 insertions(+), 17 deletions(-)