diff options
| author | Jonathan Lim <[email protected]> | 2007-08-30 23:56:23 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-08-31 01:42:22 -0700 |
| commit | f2ab6d8889422c1f5354f014e8bef337b1d1bade (patch) | |
| tree | ab7de371c86ce9e72015363fc06563709d823354 /include/linux | |
| parent | c24c55c75a0d799be07ad6c1a7ff4ccfe25da75b (diff) | |
Assign task_struct.exit_code before taskstats_exit()
taskstats.ac_exitcode is assigned to task_struct.exit_code in bacct_add_tsk()
through the following kernel function calls:
do_exit()
taskstats_exit()
fill_pid()
bacct_add_tsk()
The problem is that in do_exit(), task_struct.exit_code is set to 'code' only
after taskstats_exit() has been called. So we need to move the assignment
before taskstats_exit().
Signed-off-by: Jonathan Lim <[email protected]>
Cc: Balbir Singh <[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