Re: [PATCH 0/1] arm64: enable PREEMPT_LAZY
From: Phil Auld
Date: Wed Mar 05 2025 - 09:04:28 EST
On Wed, Mar 05, 2025 at 11:49:24AM +0100 Valentin Schneider wrote:
> 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/
>
Thanks! I was looking for this the other day :)
Cheers,
Phil
> 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
>
--