Re: [PATCH 01/22] x86: add methods for writing of an MSR onseveral CPUs

From: Borislav Petkov
Date: Fri May 22 2009 - 10:40:37 EST


On Thu, May 21, 2009 at 10:38:01AM -0700, H. Peter Anvin wrote:
> Borislav Petkov wrote:
> >
> > Well, let's do the nonserializing thing and have it done right from the
> > beginning. We might not care now but who knows..?
> >
>
> If nothing else it might matter for boot time. Serializing *anything*
> across a large number of CPUs can be very expensive.

well, upon a closer look, smp_call_function_many() skips over the CPU
it is executing on and there's currently work in that area to extend
that API: http://marc.info/?l=linux-kernel&m=123979231511594&w=2.

However, according to Linus' comments, it looks like this would need a
bit of work so I guess we should wait with the concurrency stuff a bit,
no?

--
Regards/Gruss,
Boris.

Operating | Advanced Micro Devices GmbH
System | Karl-Hammerschmidt-Str. 34, 85609 Dornach b. München, Germany
Research | Geschäftsführer: Thomas M. McCoy, Giuliano Meroni
Center | Sitz: Dornach, Gemeinde Aschheim, Landkreis München
(OSRC) | Registergericht München, HRB Nr. 43632

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