Re: [PATCH V5 2/2] tracing, perf : add cpu hotplug trace events

From: Alan Cox
Date: Thu Feb 24 2011 - 15:38:07 EST

On Thu, 24 Feb 2011 21:30:52 +0100
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> On Thu, 2011-02-24 at 15:24 -0500, Nicolas Pitre wrote:
> > Most SMP ARM processors are going to use it soon. Powering down idle
> > cores provides substantial power saving.

And some X86 will be doing likewise

> And why can't regular idle paths be used? CPU hotplug is a massively
> expensive operation.

They are not CPU idling on our idle path, they are dropping into suspend
to RAM, that means they need to drop the devices into S2R states as well.

And yes the paths are currently expensive in places but they need to be
sped up more not messed up. For most devices it's not going to be that
hard to sort out - the big ugly is x86 patching the instruction stream
back and forth each suspend/resume which is in "durrr..." category of

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at