[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090525110147.GB8956@aftab>
Date: Mon, 25 May 2009 13:01:47 +0200
From: Borislav Petkov <borislav.petkov@....com>
To: "H. Peter Anvin" <hpa@...or.com>
CC: akpm@...ux-foundation.org, greg@...ah.com, mingo@...e.hu,
norsk5@...oo.com, tglx@...utronix.de, mchehab@...hat.com,
aris@...hat.com, edt@....ca, linux-kernel@...r.kernel.org,
Andreas Herrmann <andreas.herrmann3@....com>
Subject: Re: [PATCH 01/22] x86: add methods for writing of an MSR on several
CPUs
On Fri, May 22, 2009 at 09:47:49AM -0700, H. Peter Anvin wrote:
> 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.
Ok, here it is (patches as a reply to that mail). I've added a temporary
workaround for smp_call_function_many() not running on the CPU we're on.
--
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists