diff options
| author | Srikar Dronamraju <[email protected]> | 2020-12-02 10:34:55 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-12-04 01:01:22 +1100 |
| commit | a21d1becaa3f17a97b933ffa677b526afc514ec5 (patch) | |
| tree | de21858ceb451f68dfc3a3120f7ab8fa862d1585 /tools/perf/scripts/python | |
| parent | 16520a858a995742c2d2248e86a6026bd0316562 (diff) | |
powerpc: Reintroduce is_kvm_guest() as a fast-path check
Introduce a static branch that would be set during boot if the OS
happens to be a KVM guest. Subsequent checks to see if we are on KVM
will rely on this static branch. This static branch would be used in
vcpu_is_preempted() in a subsequent patch.
Signed-off-by: Srikar Dronamraju <[email protected]>
Acked-by: Waiman Long <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions