Oleg Nesterov wrote:
> sys_setpgid() does unneeded conversions from pid_t to "struct pid" and vice
> versa. Use "struct pid" more consistently. Saves one find_vpid() and
> eliminates
> the explicit usage of ->nsproxy->pid_ns. Imho, cleanups the code.
>
> Also use the same_thread_group() helper.
>
sys_setpgid() does unneeded conversions from pid_t to "struct pid" and vice
versa. Use "struct pid" more consistently. Saves one find_vpid() and eliminates
the explicit usage of ->nsproxy->pid_ns. Imho, cleanups the code.
Also use the same_thread_group() helper.
Signed-off-by: Oleg Nesterov <[EMA
2 matches
Mail list logo