Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289714
b: refs/heads/master
c: 701085b
h: refs/heads/master
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Mar 20, 2012
1 parent 2abb96a commit 358c289
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b6e238dceed36891cc633167afe7151f1f3d83c5
refs/heads/master: 701085b219016d38f105b031381b9cee6200253a
4 changes: 1 addition & 3 deletions trunk/fs/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,7 @@ static int exec_mmap(struct mm_struct *mm)
if (old_mm) {
up_read(&old_mm->mmap_sem);
BUG_ON(active_mm != old_mm);
setmax_mm_hiwater_rss(&tsk->signal->maxrss, old_mm);
mm_update_next_owner(old_mm);
mmput(old_mm);
return 0;
Expand Down Expand Up @@ -980,9 +981,6 @@ static int de_thread(struct task_struct *tsk)
/* we have changed execution domain */
tsk->exit_signal = SIGCHLD;

if (current->mm)
setmax_mm_hiwater_rss(&sig->maxrss, current->mm);

exit_itimers(sig);
flush_itimer_signals();

Expand Down

0 comments on commit 358c289

Please sign in to comment.