Re: [PATCH -next 0/2] tasklist_lock vs get/set priority syscalls

From: Davidlohr Bueso
Date: Fri Sep 04 2020 - 18:55:11 EST


On Sun, 16 Aug 2020, Davidlohr Bueso wrote:

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/20200512000353.23653-1-dave@xxxxxxxxxxxx/

- 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.

Andrew, unless you have any objections, could you please pick these up?

Thanks,
Davidlohr