Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252667
b: refs/heads/master
c: f506b3d
h: refs/heads/master
i:
  252665: e8b942a
  252663: 0222666
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed May 28, 2011
1 parent a64f415 commit cdd4b70
Show file tree
Hide file tree
Showing 2 changed files with 9 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: e4a338d05df93ab1ebf291aca1e753064319d301
refs/heads/master: f506b3dc0ec454a16d40cab9ee5d75435b39dc50
8 changes: 8 additions & 0 deletions trunk/kernel/events/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -5028,6 +5028,14 @@ static int __perf_event_overflow(struct perf_event *event, int nmi,
else
perf_event_output(event, nmi, data, regs);

if (event->fasync && event->pending_kill) {
if (nmi) {
event->pending_wakeup = 1;
irq_work_queue(&event->pending);
} else
perf_event_wakeup(event);
}

return ret;
}

Expand Down

0 comments on commit cdd4b70

Please sign in to comment.