Re: [PATCH] mm/ia64: fix a memory block size bug

2012-08-23 Thread wujianguo
Hi Michal, Thanks for your comments and review. On 2012-8-23 23:48, Michal Hocko wrote: > [Fixed gregkh email address] > > On Tue 21-08-12 11:46:10, wujianguo wrote: >> From: Jianguo Wu >> >> Hi all, >> I found following definition in include/linux/memory.h, in my IA64 >> platform,

Re: [PATCH] mm/ia64: fix a memory block size bug

2012-08-23 Thread Michal Hocko
[Fixed gregkh email address] On Tue 21-08-12 11:46:10, wujianguo wrote: > From: Jianguo Wu > > Hi all, > I found following definition in include/linux/memory.h, in my IA64 > platform, SECTION_SIZE_BITS is equal to 32, and MIN_MEMORY_BLOCK_SIZE will be > 0. > #define MIN_MEMORY_BLOCK

[PATCH] mm/ia64: fix a memory block size bug

2012-08-20 Thread wujianguo
From: Jianguo Wu Hi all, I found following definition in include/linux/memory.h, in my IA64 platform, SECTION_SIZE_BITS is equal to 32, and MIN_MEMORY_BLOCK_SIZE will be 0. #define MIN_MEMORY_BLOCK_SIZE (1 << SECTION_SIZE_BITS) Because MIN_MEMORY_BLOCK_SIZE is 32bits,