aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2023-05-19 12:21:03 +0200
committerPeter Zijlstra <[email protected]>2023-06-05 21:11:05 +0200
commit6b10fef09f937433563822f4bb6a2f947176e5a0 (patch)
treec5bf17399eab7cff762dc0d0e15a0045723eb7a6 /lib/mpi/mpi-sub-ui.c
parent24ee7607b286b44a5112ced38652df14cd80d5e2 (diff)
loongarch: Provide noinstr sched_clock_read()
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_read() function. Specifically, preempt_enable_*() calls out to schedule(), which upsets noinstr validation efforts. 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