linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] arm64: enable PREEMPT_LAZY
@ 2025-03-05 10:49 Valentin Schneider
  2025-03-05 10:49 ` [PATCH 1/1] " Valentin Schneider
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Valentin Schneider @ 2025-03-05 10:49 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel, linux-rt-users
  Cc: Catalin Marinas, Will Deacon, Mike Galbraith, Peter Collingbourne,
	Mark Rutland, Thomas Gleixner, Neeraj Upadhyay,
	Thiago Jung Bauermann, Mark Brown, Kristina Martsenko,
	Sebastian Andrzej Siewior, Petr Tesarik, Jinjie Ruan, Juri Lelli,
	Phil Auld

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@J2N7QTR9R3.cambridge.arm.com/

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



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-05-07 22:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-05 10:49 [PATCH 0/1] arm64: enable PREEMPT_LAZY Valentin Schneider
2025-03-05 10:49 ` [PATCH 1/1] " Valentin Schneider
2025-03-05 11:06   ` Sebastian Andrzej Siewior
2025-03-05 12:15   ` Mark Rutland
2025-03-06 12:23     ` Petr Tesarik
2025-03-31  9:07     ` Sebastian Andrzej Siewior
2025-04-29 12:45       ` Will Deacon
2025-03-05 12:48   ` Thomas Gleixner
2025-05-07 22:51   ` Paul E. McKenney
2025-03-05 14:03 ` [PATCH 0/1] " Phil Auld
2025-04-29 20:27 ` Will Deacon
2025-04-30  8:38   ` Petr Tesarik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).