diff options
author | Peter Zijlstra <[email protected]> | 2023-05-19 12:21:08 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2023-06-05 21:11:08 +0200 |
commit | e39acc37db34f6688e2c16e958fb1d662c422c81 (patch) | |
tree | eceb7d6b799562d0c1e35f4e4e0b9d2f7d8ca819 /lib/mpi/mpi-sub-ui.c | |
parent | 9397fa2ea3e7634f61da1ab76b9eb88ba04dfdfc (diff) |
clocksource: hyper-v: Provide noinstr sched_clock()
With the intent to provide local_clock_noinstr(), a variant of
local_clock() that's safe to be called from noinstr code (with the
assumption that any such code will already be non-preemptible),
prepare for things by making the Hyper-V TSC and MSR sched_clock
implementations noinstr.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Co-developed-by: Michael Kelley <[email protected]>
Signed-off-by: Michael Kelley <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: Michael Kelley <[email protected]> # Hyper-V
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions