Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167114
b: refs/heads/master
c: fc6b177
h: refs/heads/master
v: v3
  • Loading branch information
Peter Zijlstra authored and Thomas Gleixner committed Oct 6, 2009
1 parent 9d872e6 commit 723e508
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: eaaea8036d0261d87d7072c5bc88c7ea730c18ac
refs/heads/master: fc6b177dee33365ccb29fe6d2092223cf8d679f9
8 changes: 6 additions & 2 deletions trunk/kernel/fork.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,11 +543,15 @@ void mm_release(struct task_struct *tsk, struct mm_struct *mm)

/* Get rid of any futexes when releasing the mm */
#ifdef CONFIG_FUTEX
if (unlikely(tsk->robust_list))
if (unlikely(tsk->robust_list)) {
exit_robust_list(tsk);
tsk->robust_list = NULL;
}
#ifdef CONFIG_COMPAT
if (unlikely(tsk->compat_robust_list))
if (unlikely(tsk->compat_robust_list)) {
compat_exit_robust_list(tsk);
tsk->compat_robust_list = NULL;
}
#endif
#endif

Expand Down

0 comments on commit 723e508

Please sign in to comment.