[PATCH] ARM: update show_interrupts for online cpu's only
Russell King - ARM Linux
linux at arm.linux.org.uk
Sat Jul 31 10:36:27 EDT 2010
On Sat, Jul 31, 2010 at 07:38:53PM +0530, Santosh Shilimkar wrote:
> Even after CPUx is logically offline, it's interrupt are displayed
> in proc entry
>
> This patch fixes the same by use of 'for_each_online_cpu' instead
> of 'for_each_present_cpu' in 'show_interrupts' function
What's the synchronisation mechanism between CPUs being brought on or
offline and this file being read?
I believe we have a more dynamic approach to CPU hotplug (using it for
dynamic power saving) than x86, so I believe hotplug events can happen
more often on ARM.
More information about the linux-arm-kernel
mailing list