All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] add pid::tasks_lock to fix send_sigio() and send_sigurg()
@ 2026-10-17 15:49 Oleg Nesterov
  2026-10-17 15:49 ` [PATCH 1/1] " Oleg Nesterov
  2026-10-17 16:10 ` [PATCH 0/1] " Oleg Nesterov
  0 siblings, 2 replies; 3+ messages in thread
From: Oleg Nesterov @ 2026-10-17 15:49 UTC (permalink / raw)
  To: Christian Brauner, David Laight, Jeff Layton, Mingyu Wang
  Cc: alex.aring, jack, viro, linux-fsdevel, linux-kernel

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(-)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-17 16:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-17 15:49 [PATCH 0/1] add pid::tasks_lock to fix send_sigio() and send_sigurg() Oleg Nesterov
2026-10-17 15:49 ` [PATCH 1/1] " Oleg Nesterov
2026-10-17 16:10 ` [PATCH 0/1] " Oleg Nesterov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.