Messages in this thread |  | | | Date | Tue, 15 Jan 2008 07:51:52 -0800 | | From | Mike Travis <> | | Subject | Re: [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!
|  |