lkml.org 
[lkml]   [2018]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v4 7/7] x86/vdso: Move out the CPU number store
From
Date
On 06/25/18 08:40, Thomas Gleixner wrote:
> On Fri, 22 Jun 2018, Andy Lutomirski wrote:
>
>> On Fri, Jun 22, 2018 at 11:02 AM Bae, Chang Seok
>> <chang.seok.bae@intel.com> wrote:
>>>
>>>> Still setup_cpu_number() sucks.
>>>
>>> How about setup_cpu_and_node_number()?
>>
>> setup_fast_cpu_node_nr()? setup_cpunr_regs()? I don't have any
>> brilliant ideas. Thomas?
>
> It's really hard to find a good one. setup_cpu_node_cache() might work, but
> it's not brilliant either.
>

Since this applies to the getcpu(2) system call (in addition to the
kernel usage), perhaps setup_getcpu()?

-hpa

\
 
 \ /
  Last update: 2018-06-25 20:04    [W:0.068 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site