tasklist_lock vs get/set priority syscalls
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Changes from v1 from the cover letter
https://lore.kernel.org/lkml/[email protected]/
- only take the lock for PGID cases.
- drop bogus PF_EXITING checks (and live with the small exit race).
- add patch for IOPRIO_WHO_PGRP.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | kernel/sys: only take tasklist_lock for get/setpriority(PRIO_PGRP)kernel/ | +8 | 1 reply | |
| 2/2 | block: fix ioprio_get/set(IOPRIO_WHO_PGRP) vs setuid(2)block/ | +4 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Oleg Nesterov | Jens Axboe |
|---|---|---|
| 1/2 | A-b | |
| 2/2 | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH -next 0/2] tasklist_lock vs get/set priority syscalls
Hi,
This is a (late) update on trying to reduce some of the scope of the tasklist_lock for get/setpriority(2) as well as the block io equivalent. This version addresses Oleg's previous concerns and incorporates his feedback.
Changes from v1:
https://lore.kernel.org/lkml/[email protected]/
- only take the lock for PGID cases.
- drop bogus PF_EXITING checks (and live with the small exit race).
- add patch for IOPRIO_WHO_PGRP.
Please consider for v5.10.
Thanks!
Davidlohr Bueso (2):
kernel/sys: only take tasklist_lock for get/setpriority(PRIO_PGRP)
block: fix ioprio_get/set(IOPRIO_WHO_PGRP) vs setuid(2)
block/ioprio.c | 4 ++++ kernel/sys.c | 16 ++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-)
--
2.26.2