[PATCH] ARM: Check for is_smp for tlb_ops and cache_ops boardcast
Tony Lindgren
tony at atomide.com
Wed Oct 6 10:44:14 EDT 2010
* Russell King - ARM Linux <linux at arm.linux.org.uk> [101005 15:24]:
> On Tue, Oct 05, 2010 at 03:19:52PM -0700, Tony Lindgren wrote:
> > * Tony Lindgren <tony at atomide.com> [100907 20:04]:
> > > This should not be needed when running on UP systems.
> > >
> > > Additionally we will also get an undefined instruction on ARM cores
> > > without the extended CPUID registers with CONFIG_SMP_ON_UP.
> > >
> > > Also, we can now remove the is_smp() test from mmu.c.
> >
> > Just FYI, I've updated this one more time with to use cpus_empty
> > instead of !smp_on_up() here as well.
>
> What's the rationale?
With CPU hotplug if the other SMP cores are unplugged for PM or
other reasons, no need to do the broadcast.
Regards,
Tony
More information about the linux-arm-kernel
mailing list