[PATCH 0/1] arm64: enable PREEMPT_LAZY

From: Valentin Schneider
Date: Wed Mar 05 2025 - 05:52:16 EST


Hey folks,

This is a resubmission of Mark's patch [1]. I didn't end up changing anything
other than fluffing up the changelog.

I ran this under an arm64 VM, added some trace_printk's and checked that
sched_switch's between runnable hackbench threads would occurr in the right
conditions:
o with TIF_NEED_RESCHED_LAZY set
o at the tick
o at do_notify_resume()
o with TIF_NEED_RESCHED set

[1]: https://lore.kernel.org/linux-rt-users/Z2B5y3HiLuRHPfdv@xxxxxxxxxxxxxxxxxxxxxxxxxxxx/

Cheers,
Valentin

Mark Rutland (1):
arm64: enable PREEMPT_LAZY

arch/arm64/Kconfig | 1 +
arch/arm64/include/asm/thread_info.h | 16 +++++++++-------
arch/arm64/kernel/entry-common.c | 2 +-
3 files changed, 11 insertions(+), 8 deletions(-)

--
2.43.0