[PATCH] ARM: extend SMP_ON_UP detection for A5 MPCore devices with 1 CPU
stefan at agner.ch
Mon Mar 2 09:47:26 PST 2015
On 2015-02-17 17:15, Afzal Mohammed wrote:
> Hi Stefan,
> On Sat, Jan 31, 2015 at 12:53:46AM +0100, Stefan Agner wrote:
>> On the Vybrid platform this did not lead to CPU faults (so far),
>> but is_smp checks evaluate to true which is not optimal
>> performance wise.
> Just curious, was the performance difference considerable ?
I can see differences in the boot time stamps in the 10th ms range, not
sure whether this is really due to the detection of the UP system or
some side effects. I guess the change would be measurable with the right
workload, for instance the memory policies are different for SMP system
compared to UP systems.
However, we use a custom configuration for the device, hence SMP is by
default disabled anyway. But it would be nice to be able to use
multi-platform kernels without having to worry about SMP detection...
More information about the linux-arm-kernel