Re: [PATCH] ARM: extend SMP_ON_UP detection for A5 MPCore devices with 1 CPU

From: Stefan Agner
Date: Mon Mar 02 2015 - 12:47:37 EST


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...

--
Stefan

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/