add pid::tasks_lock to fix send_sigio() and send_sigurg()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | add pid::tasks_lock to fix send_sigio() and send_sigurg()fs/ include/ kernel/ | +24 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)