sched/clock: Make local_clock() noinstr
authorPeter Zijlstra <peterz@infradead.org>
Thu, 26 Jan 2023 15:08:37 +0000 (16:08 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 31 Jan 2023 14:01:47 +0000 (15:01 +0100)
commit776f22913b8e50011004c6ae43004711dab7efa5
tree4ec81b56293836a378fb57ad7fe2156a6b0e3c92
parent8739c6811572b087decd561f96382087402cc343
sched/clock: Make local_clock() noinstr

With sched_clock() noinstr, provide a noinstr implementation of
local_clock().

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230126151323.760767043@infradead.org
include/linux/sched/clock.h
kernel/sched/clock.c