lkml.org 
[lkml]   [2021]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH 04/13] mm/numa: node demotion data structure and lookup
From
Date
On 1/30/21 5:19 PM, David Rientjes wrote:
> On Mon, 25 Jan 2021, Dave Hansen wrote:
>
>> diff -puN mm/migrate.c~0006-node-Define-and-export-memory-migration-path mm/migrate.c
>> --- a/mm/migrate.c~0006-node-Define-and-export-memory-migration-path 2021-01-25 16:23:09.553866709 -0800
>> +++ b/mm/migrate.c 2021-01-25 16:23:09.558866709 -0800
>> @@ -1161,6 +1161,22 @@ out:
>> return rc;
>> }
>>
>> +static int node_demotion[MAX_NUMNODES] = {[0 ... MAX_NUMNODES - 1] = NUMA_NO_NODE};
>
> __read_mostly?

Yep, that's sane. I'll fix that up in the next revision.

\
 
 \ /
  Last update: 2021-02-01 18:51    [W:0.104 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site