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

From: H. Peter Anvin
Date: Fri May 22 2009 - 12:48:48 EST


Borislav Petkov wrote:
>>>
>> 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?
>

Well, we can introduce the API now if that's where we intend it to go.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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