aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2006-10-02 02:18:54 -0700
committerLinus Torvalds <[email protected]>2006-10-02 07:57:24 -0700
commitb0fa9db6abdb2875a6d3069ddc6a2846a73fa5cd (patch)
tree840fd70ce726f94ff389d97dd012e53ae02f1dcf /include
parenta593d6edeb0a5a2c6e6919b225cec668a375df52 (diff)
[PATCH] proc: drop tasklist lock in task_state()
task_state() needs tasklist_lock to protect ->parent/->real_parent. However task->parent points to nowhere only when the actions below happen in order 1) release_task(task) 2) release_task(task->parent) 3) a grace period passed But 3) implies that the memory ops from 1) should be finished, so pid_alive() can't be true in such a case. Otherwise, we don't care if ->parent/->real_parent changes under us. Signed-off-by: Oleg Nesterov <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions