Searched hist:"91 b41a237512b569746e1f560a42d9fba077261d" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/s390/include/asm/ |
H A D | timex.h | diff 91b41a237512b569746e1f560a42d9fba077261d Fri May 19 05:21:04 CDT 2023 Peter Zijlstra <peterz@infradead.org> 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) <peterz@infradead.org> Acked-by: Heiko Carstens <hca@linux.ibm.com> Tested-by: Michael Kelley <mikelley@microsoft.com> # Hyper-V Link: https://lore.kernel.org/r/20230519102715.570170436@infradead.org
|
/openbmc/linux/arch/s390/kernel/ |
H A D | time.c | diff 91b41a237512b569746e1f560a42d9fba077261d Fri May 19 05:21:04 CDT 2023 Peter Zijlstra <peterz@infradead.org> 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) <peterz@infradead.org> Acked-by: Heiko Carstens <hca@linux.ibm.com> Tested-by: Michael Kelley <mikelley@microsoft.com> # Hyper-V Link: https://lore.kernel.org/r/20230519102715.570170436@infradead.org
|