[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <478CD698.1090402@sgi.com>
Date: Tue, 15 Jan 2008 07:51:52 -0800
From: Mike Travis <travis@....com>
To: Eric Dumazet <dada1@...mosbay.com>
CC: Andrew Morton <akpm@...ux-foundation.org>, Andi Kleen <ak@...e.de>,
mingo@...e.hu, Christoph Lameter <clameter@....com>,
Jack Steiner <steiner@....com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
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!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists