pids: Compute task_tgid using signal->leader_pid
The cost is the the same and this removes the need
to worry about complications that come from de_thread
and group_leader changing.
__task_pid_nr_ns has been updated to take advantage of this change.
Signed-off-by:
"Eric W. Biederman" <ebiederm@xmission.com>
Showing
- arch/ia64/kernel/asm-offsets.c 1 addition, 1 deletionarch/ia64/kernel/asm-offsets.c
- arch/ia64/kernel/fsys.S 4 additions, 4 deletionsarch/ia64/kernel/fsys.S
- drivers/platform/x86/thinkpad_acpi.c 1 addition, 0 deletionsdrivers/platform/x86/thinkpad_acpi.c
- fs/fuse/file.c 1 addition, 0 deletionsfs/fuse/file.c
- fs/notify/fanotify/fanotify.c 1 addition, 0 deletionsfs/notify/fanotify/fanotify.c
- include/linux/sched.h 0 additions, 5 deletionsinclude/linux/sched.h
- include/linux/sched/signal.h 5 additions, 0 deletionsinclude/linux/sched/signal.h
- include/net/scm.h 1 addition, 0 deletionsinclude/net/scm.h
- kernel/pid.c 8 additions, 7 deletionskernel/pid.c
Loading
Please register or sign in to comment