[PATCH 4/5] ARM: Disable jump-label on PREEMPT_RT.

Sebastian Andrzej Siewior bigeasy at linutronix.de
Thu Oct 30 04:10:58 PDT 2025


On 2025-10-30 10:38:10 [+0000], Russell King (Oracle) wrote:
> On Thu, Oct 30, 2025 at 08:55:58AM +0100, Sebastian Andrzej Siewior wrote:
> > Arm64 and X86 replaced the stop_machine() logic with something else that
> > does not affect latency in that magnitude. If Arm could something
> > similar then fine but until then I don't see a way around it.
> 
> "If Arm could". For 32-bit, Arm Ltd isn't going to do anything, it's
> old as far as they're concerned. It's up to those participating in the
> kernel community to maintain and look after the code.
> 
> Thus, if there is a desire for something other than stop_machine() then
> it is up to those who care about the issue to do something about it,
> rather than expecting someone else to do something for them.

I fully understand. I've been told by several people to repost my ARM-RT
patches because they ("as in "the SoCs") appear to be of interest in
years to come. As individual vendor promise to deliver their SoCs for
10y+. It also claimed that new products appear with these SoCs. Now that
we have RT support in upstream kernel, ARM is one of the missing
architectures that was supported out of tree.

Having jump-labels disabled is what we had in the ARM-RT queue since
jump-labels were introduced. From around v4.0.8-rt6 it was considered
safe and enabled for x86, powerpc and arm64. From that point of view I
don't see a regression for the users.
And as you said, if there are ARM users who care and have an idea how to
optimize stop_machine() away they are welcome to post patches.

Sebastian



More information about the linux-arm-kernel mailing list