Skip to content

Revert "kmod: handle UMH_WAIT_PROC from system unbound workqueue"

Oleg Nesterov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1Revert "kmod: handle UMH_WAIT_PROC from system unbound workqueue"kernel/kmod.c+24 -203 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Revert "kmod: handle UMH_WAIT_PROC from system unbound workqueue"

Hello,

I noticed by accident the kworker zombies on my testing machine. Can't reproduce (although I think it won't be hard to make a test-case), but I think the reason is clear, see the changelog.

We could fix this by using kthread_create() if !UMH_WAIT_PROC, but imo it would be better to revert this change at least for now. If we really want to avoid the extra kernel_thread(), we can make another patch which also avoids sys_wait4() and the games with SIGCHLD; we can rely on wait_chldexit.

Oleg.