Re: [PATCH v3 0/6] reduce tasklist_lock hold time on exit and do some

Oleg Nesterov
2025-02-03T17:47:46Z

On 02/01, Mateusz Guzik wrote:
>
> Mateusz Guzik (6):
> exit: perform add_device_randomness() without tasklist_lock
> exit: hoist get_pid() in release_task() outside of tasklist_lock
> exit: postpone tty_kref_put() until after tasklist_lock is dropped
> pid: sprinkle tasklist_lock asserts
> pid: perform free_pid() calls outside of tasklist_lock
> pid: drop irq disablement around pidmap_lock
>
> include/linux/pid.h | 7 ++--
> kernel/exit.c | 45 +++++++++++++++----------
> kernel/pid.c | 82 +++++++++++++++++++++++++--------------------
> kernel/sys.c | 14 +++++---
> 4 files changed, 86 insertions(+), 62 deletions(-)

I see nothing wrong in this series, feel free to add

Reviewed-by: Oleg Nesterov <oleg@redhat.com>

I have a couple of very minor nits, will send in a minute...

Oleg.