lkml.org 
[lkml]   [2017]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/3] mm: Handle numa statistics distinctively based-on different VM stats modes
From
Date


On 2017年09月18日 12:13, Dave Hansen wrote:
> On 09/17/2017 08:07 PM, kemi wrote:
>>>> + if (vmstat_mode) {
>>>> + if (vmstat_mode == VMSTAT_COARSE_MODE)
>>>> + return;
>>>> + } else if (disable_zone_statistics)
>>>> + return;
>>>> +
>>>> if (z->node != numa_node_id())
>>>> local_stat = NUMA_OTHER;
>>>
>>> A jump label could make this completely out of the way for the case
>>> where every single cycle matters.
>>
>> Could you be more explicit for how to implement it here. Thanks very much.
>
> Take a look at include/linux/jump_label.h.
>
>

Sure, Thanks

>

\
 
 \ /
  Last update: 2017-09-18 07:07    [W:0.208 / U:1.136 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site