sched/core: Remove ifdeffery for saved_state
authorElliot Berman <quic_eberman@quicinc.com>
Fri, 8 Sep 2023 22:49:15 +0000 (15:49 -0700)
committerIngo Molnar <mingo@kernel.org>
Mon, 18 Sep 2023 06:13:57 +0000 (08:13 +0200)
commitfbaa6a181a4b1886cbf4214abdf9a2df68471510
treececed1ad476ddaa0aa756e3ef8bc36f9a62942d4
parent4ff34ad3d39377d9f6953f3606ccf611ce636767
sched/core: Remove ifdeffery for saved_state

In preparation for freezer to also use saved_state, remove the
CONFIG_PREEMPT_RT compilation guard around saved_state.

On the arm64 platform I tested which did not have CONFIG_PREEMPT_RT,
there was no statistically significant deviation by applying this patch.

Test methodology:

perf bench sched message -g 40 -l 40

Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h
kernel/sched/core.c