Messages in this thread | | | Date | Thu, 6 Jan 2022 11:43:12 -0500 | Subject | Re: [PATCH v2 3/3] prlimit: do not grab the tasklist_lock | From | Barret Rhoden <> |
| |
On 1/5/22 17:05, Eric W. Biederman wrote: > > I think the simple solution is just: > update_rlimit_cpu(tsk->group_leader) > > As the group leader is guaranteed to be the last thread of the thread > group to be processed in release_task, and thus the last thread with a > sighand. Nothing needs to be done if it does not have a sighand.
Ah, good to know. I didn't know the group_leader stuck around as a zombie. That makes life easier. I'll make the change and repost the patches.
Thanks,
Barret
| |