Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262303
b: refs/heads/master
c: a729589
h: refs/heads/master
i:
  262301: 9acc499
  262299: 9292886
  262295: 8e5de48
  262287: 58759b5
  262271: 38b4dff
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Aug 4, 2011
1 parent 8544cf0 commit 65f75a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: dfc428b656c4693a2334a8d9865b430beddb562a
refs/heads/master: a7295898a1d2e501427f557111c2b4bdfc90b1ed
2 changes: 1 addition & 1 deletion trunk/kernel/taskstats.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ static int add_del_listener(pid_t pid, const struct cpumask *mask, int isadd)
listeners = &per_cpu(listener_array, cpu);
down_write(&listeners->sem);
list_for_each_entry(s2, &listeners->list, list) {
if (s2->pid == pid)
if (s2->pid == pid && s2->valid)
goto exists;
}
list_add(&s->list, &listeners->list);
Expand Down

0 comments on commit 65f75a7

Please sign in to comment.