lkml.org 
[lkml]   [2008]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 02/10] x86: Change size of node ids from u8 to u16 V2
Eric Dumazet wrote:
>
>> --- a/include/asm-x86/mmzone_64.h
>> +++ b/include/asm-x86/mmzone_64.h
>> @@ -15,8 +15,8 @@
>> struct memnode {
>> int shift;
>> unsigned int mapsize;
>> - u8 *map;
>> - u8 embedded_map[64-16];
>> + u16 *map;
>> + u16 embedded_map[64-16];
>
> Must change to 32-8 here, or 64-8 and change the comment (total size =
> 128 bytes). If you change to 32-8, check how .map is set to embedded_map.
>
>> } ____cacheline_aligned; /* total size = 64 bytes */
>> extern struct memnode memnode;
>> #define memnode_shift memnode.shift

Thanks!


\
 
 \ /
  Last update: 2008-01-15 16:55    [W:0.075 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site