lkml.org 
[lkml]   [2015]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] x86, espfix: use spin_lock rather than mutex
On 05/14/2015 02:27 PM, Borislav Petkov wrote:
> Remove stable@ from CC.
>
> On Thu, May 14, 2015 at 08:29:55PM +0200, Ingo Molnar wrote:
>> We could allocate them on the boot CPU side and hand them over to the
>> secondary CPU.
>
> Yeah, something along those lines. I mean, they're allocated and in-use
> during the complete system lifetime, we might just as well allocate them
> all in one go. Btw, what's our allocator that early, memblock?
>
> Still, what I find strange is why are we seeing this only now? Is it
> because it had to be a big box (cpu >= 128) or something else changed...?
>

Quite probable. You don't really want to allocate them until you know
if a CPU at least exists, though.

I like Ingo's suggestion of allocating them before CPU bringup on the
initiating CPU.

-hpa




\
 
 \ /
  Last update: 2015-05-15 00:41    [W:1.149 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site