diff options
| author | Oleg Nesterov <[email protected]> | 2014-04-07 22:38:30 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-04-07 23:36:04 +0000 |
| commit | 4bcb8232cf4eb061b086c10f56b6808adcdb5a93 (patch) | |
| tree | 808dd52c0e2addd49d1af7c4d51d1946c5477743 /fs/proc/array.c | |
| parent | exit: call disassociate_ctty() before exit_task_namespaces() (diff) | |
| download | kernel-4bcb8232cf4eb061b086c10f56b6808adcdb5a93.tar.gz kernel-4bcb8232cf4eb061b086c10f56b6808adcdb5a93.zip | |
exit: move check_stack_usage() to the end of do_exit()
It is not clear why check_stack_usage() is called so early and thus it
never checks the stack usage in, say, exit_notify() or
flush_ptrace_hw_breakpoint() or other functions which are only called by
do_exit().
Move the callsite down to the last preempt_disable/schedule.
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
