diff options
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -845,6 +845,9 @@ static int de_thread(struct task_struct *tsk) | |||
845 | sig->notify_count = 0; | 845 | sig->notify_count = 0; |
846 | 846 | ||
847 | no_thread_group: | 847 | no_thread_group: |
848 | if (current->mm) | ||
849 | setmax_mm_hiwater_rss(&sig->maxrss, current->mm); | ||
850 | |||
848 | exit_itimers(sig); | 851 | exit_itimers(sig); |
849 | flush_itimer_signals(); | 852 | flush_itimer_signals(); |
850 | 853 | ||