]> git.baikalelectronics.ru Git - kernel.git/commit
pids: introduce find_get_task_by_vpid() helper
authorMike Rapoport <rppt@linux.vnet.ibm.com>
Tue, 6 Feb 2018 23:40:17 +0000 (15:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Feb 2018 02:32:46 +0000 (18:32 -0800)
commitcecea5ca148bd6db12a22f2682cf7c872bed5aa1
treebb2dc8915be7e4f0fea7438edf380d84b896f80a
parente34e60848b303f4976dae56ebbf646d73bb878cc
pids: introduce find_get_task_by_vpid() helper

There are several functions that do find_task_by_vpid() followed by
get_task_struct().  We can use a helper function instead.

Link: http://lkml.kernel.org/r/1509602027-11337-1-git-send-email-rppt@linux.vnet.ibm.com
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/ia64/kernel/perfmon.c
include/linux/sched.h
kernel/futex.c
kernel/pid.c
kernel/ptrace.c
kernel/taskstats.c
mm/process_vm_access.c
security/yama/yama_lsm.c