diff options
author | Peter Zijlstra <peterz@infradead.org> | 2023-05-19 12:21:08 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-06-05 21:11:08 +0200 |
commit | e39acc37db34f6688e2c16e958fb1d662c422c81 (patch) | |
tree | eceb7d6b799562d0c1e35f4e4e0b9d2f7d8ca819 /tools/perf/util/cacheline.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) <peterz@infradead.org>
Co-developed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Michael Kelley <mikelley@microsoft.com> # Hyper-V
Link: https://lore.kernel.org/r/20230519102715.843039089@infradead.org
Diffstat (limited to 'tools/perf/util/cacheline.c')
0 files changed, 0 insertions, 0 deletions