Skip to content

kthread: make struct kthread kmalloc'ed

Oleg Nesterov lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyIn review
  2. v12 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5kthread: make struct kthread kmalloc'edinclude/linux/kthread.h kernel/fork.c kernel/kthread.c+48 -130 replies
2/5Revert "kthread: Pin the stack via try_get_task_stack()/put_task_stack() in to_live_kthread() function"kernel/kthread.c+2 -60 replies
3/5kthread: don't use to_live_kthread() in kthread_stop()kernel/kthread.c+5 -70 replies
4/5kthread: don't use to_live_kthread() in kthread_park() and kthread_unpark()kernel/kthread.c+24 -450 replies
5/5kthread: don't abuse kthread_create_on_cpu() in __kthread_create_worker()kernel/kthread.c+8 -150 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchThomas GleixnerPetr MladekPeter Zijlstra (Intel)
SeriesA-b
1/5R-b
2/5A-b
3/5R-b
4/5R-b
5/5R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/5] kthread: make struct kthread kmalloc'ed

Hello,

I think that these patches were lost in confusing discussion, let me resend. The only change is that I added the acks from Thomas and Petr.

More to come.

Oleg.

 include/linux/kthread.h |   1 +
 kernel/fork.c           |   2 +
 kernel/kthread.c        | 144 ++++++++++++++++++++++++------------------------
 3 files changed, 74 insertions(+), 73 deletions(-)