[PATCH] ARM : fix /proc/interrupts per online cpu

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Nov 24 15:21:38 EST 2011


On Thu, Nov 24, 2011 at 05:05:19PM +0100, Daniel Lezcano wrote:
> The loop should look at the online cpus instead of the present cpus
> in order to hide the offline cpus in procfs like it is done on the
> other architectures.

And what happens if you're reading /proc/interrupts while a CPU is
changing state?

Given that it's just user presentation, whether its online or present
makes little odds - and having it as present CPUs makes the output
100% stable with the effects of hotplug.



More information about the linux-arm-kernel mailing list