diff options
| author | Peter Zijlstra <[email protected]> | 2017-11-13 14:28:30 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-03-12 15:28:49 +0100 |
| commit | 1cac7b1ae3579457200213303fc28ca13b75592f (patch) | |
| tree | 2db8f225af531e240eacfe20494cc89a70e8c47f /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | 161c85fab7875f306eee9655dee71068feeb14ce (diff) | |
perf/core: Fix event schedule order
Scheduling in events with cpu=-1 before events with cpu=# changes
semantics and is undesirable in that it would priorize these events.
Given that groups->index is across all groups we actually have an
inter-group ordering, meaning we can merge-sort two groups, which is
just what we need to preserve semantics.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Alexey Budankov <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: David Carrillo-Cisneros <[email protected]>
Cc: Dmitri Prokhorov <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Valery Cherepennikov <[email protected]>
Cc: Vince Weaver <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions