lkml.org 
[lkml]   [2015]   [May]   [15]   [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 11:54 PM, Ingo Molnar wrote:
>
> The only slightly subtle detail with that is to use alloc_pages_node()
> with the secondary CPU's node, to make sure the espfix stack is
> NUMA-local to the CPU that is going to use it.
>

It doesn't hurt, although it isn't super critical as each page will be
shared among 64 CPUs. The whole espfix stack is only a single cacheline
long.

-hpa



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