Skip to content

add pid::tasks_lock to fix send_sigio() and send_sigurg()

Oleg Nesterov linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1add pid::tasks_lock to fix send_sigio() and send_sigurg()fs/fcntl.c include/linux/pid.h kernel/pid.c+24 -50 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] add pid::tasks_lock to fix send_sigio() and send_sigurg()

Not for inclusion yet, just RFC. In particular, I'd like to have a review from sashiko, I am sure I missed something ;)

Only compile tested, the changelog is obviously incomplete, __change_pid() should die after this change, etc.

And. I am still not sure that the new lock should be per pid, perhaps a simple global lock which aligns with tasklist makes more sense, it should not be contended too much.

Please comment.

Oleg.

 fs/fcntl.c          |  4 ++++
 include/linux/pid.h |  1 +
 kernel/pid.c        | 24 +++++++++++++++++++-----
 3 files changed, 24 insertions(+), 5 deletions(-)