Re: [PATCH] pids: make task_tgid_nr_ns() safe

From: Linus Torvalds
Date: Mon Aug 21 2017 - 15:49:37 EST


On Mon, Aug 21, 2017 at 8:35 AM, Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
>
> We really need to change __unhash_process() to nullify group_leader,
> parent, and real_parent, but this needs some cleanups. Until then we
> can turn task_tgid_nr_ns() into another user of __task_pid_nr_ns() and
> fix the problem.

Applied.

Should it perhaps have had a "Cc: stable" on it? I didn't do so, but
it might be worth pointing Greg at this explicitly (dd1c1f2f2028
"pids: make task_tgid_nr_ns() safe").

I haven't pushed it out yet, it's going through my usual build first,
but it's in my tree.

Linus