Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
include/linux/sched.h: don't use task->pid/tgid in same_thread_group/…
…has_group_leader_pid task_struct->pid/tgid should go away. 1. Change same_thread_group() to use task->signal for comparison. 2. Change has_group_leader_pid(task) to compare task_pid(task) with signal->leader_pid. Signed-off-by: Oleg Nesterov <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Sergey Dyasly <[email protected]> Reviewed-by: "Eric W. Biederman" <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information