diff options
author | Peter Zijlstra <[email protected]> | 2023-05-19 12:21:04 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2023-06-05 21:11:06 +0200 |
commit | 91b41a237512b569746e1f560a42d9fba077261d (patch) | |
tree | 03db4aa84444888fb7d7d731fe61575fe58b47e3 /lib/mpi/mpi-sub-ui.c | |
parent | 6b10fef09f937433563822f4bb6a2f947176e5a0 (diff) |
s390/time: Provide sched_clock_noinstr()
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 providing a noinstr sched_clock_noinstr()
function.
Specifically, preempt_enable_*() calls out to schedule(), which upsets
noinstr validation efforts.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Heiko Carstens <[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