Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165675
b: refs/heads/master
c: b4fe518
h: refs/heads/master
i:
  165673: 239e7f0
  165671: 7256f45
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Sep 24, 2009
1 parent 5c5e357 commit 6d581f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0b7570e77f7c3abd43107dabc47ea89daf9a1cba
refs/heads/master: b4fe51823d797d6959b2eee7868023e61606daa9
3 changes: 3 additions & 0 deletions trunk/kernel/exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1581,6 +1581,9 @@ static int child_wait_callback(wait_queue_t *wait, unsigned mode,
if (!eligible_child(wo, p))
return 0;

if ((wo->wo_flags & __WNOTHREAD) && wait->private != p->parent)
return 0;

return default_wake_function(wait, mode, sync, key);
}

Expand Down

0 comments on commit 6d581f6

Please sign in to comment.