aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2006-10-28 10:38:54 -0700
committerLinus Torvalds <[email protected]>2006-10-28 11:30:55 -0700
commitd7c3f5f231c60d7e6ada5770b536df2b3ec1bd08 (patch)
tree04bd0ce8b70f7a43195a210d8dd6a808be329a1c /include/linux
parenta98b6094261c0112e9c455c96995972181bff049 (diff)
[PATCH] fill_tgid: cleanup delays accounting
fill_tgid() should skip not only an already exited group leader. If the task has ->exit_state != 0 it already did exit_notify(), so it also did fill_tgid_exit()->delayacct_add_tsk(->signal->stats) and we should skip it to avoid a double accounting. This patch doesn't close the race completely, but it cleanups the code. Signed-off-by: Oleg Nesterov <[email protected]> Cc: Shailabh Nagar <[email protected]> Cc: Balbir Singh <[email protected]> Cc: Jay Lan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions