Re: [PATCH 02/10] x86: Change size of node ids from u8 to u16 V2
From: Mike Travis
Date: Tue Jan 15 2008 - 10:52:11 EST
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!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/