Re: [PATCHSET] stop_machine: implementstop_machine_from_offline_cpu()

From: Tejun Heo
Date: Thu Jun 16 2011 - 08:15:22 EST

Hello, Peter.

On Thu, Jun 16, 2011 at 02:10:19PM +0200, Peter Zijlstra wrote:
> Maybe a silly question, but why does mtrr need all this? Surely mtrr can
> serialize state by other means than stopping all cpus. A simple mutex
> around the shared state blocking other cpus from updating the mtrr state
> while we're copying the state to our newly born cpu should cure things.

Hmmm... good question. I don't know mtrr too well either but the
stop-machine requirement seems to directly come from intel's
specification. I suppose Suresh can fill us in better.


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