Re: [PATCH v2] pids: introduce find_get_task_by_vpid helper

From: Oleg Nesterov
Date: Tue Oct 31 2017 - 12:39:16 EST


On 10/27, Mike Rapoport wrote:
>
> There are several functions that do find_task_by_vpid() followed by
> get_task_struct(). We can use a helper function instead.
>
> Signed-off-by: Mike Rapoport <rppt@xxxxxxxxxxxxxxxxxx>
> ---
>
> v2: remove futex_find_get_task() and ptrace_get_task_struct() as Oleg
> suggested

Acked-by: Oleg Nesterov <oleg@xxxxxxxxxx>