forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork0
Commit1908dc9
Peter Zijlstra
perf: Tweak perf_event_attr::exclusive semantics
Currently perf_event_attr::exclusive can be used to ensure anevent(group) is the sole group scheduled on the PMU. One consequenceis that when you have a pinned event (say the watchdog) you can nolonger have regular exclusive event(group)s.Inspired by the fact that !pinned events are considered less strict,allow !pinned,exclusive events to share the PMU with pinned,!exclusiveevents.Pinned,exclusive is still fully exclusive.Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>Link:https://lkml.kernel.org/r/20201029162902.105962225@infradead.org1 parent2714c39 commit1908dc9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2637 | 2637 | | |
2638 | 2638 | | |
2639 | 2639 | | |
2640 | | - | |
| 2640 | + | |
2641 | 2641 | | |
2642 | 2642 | | |
2643 | 2643 | | |
| |||
0 commit comments
Comments
(0)