Re: [PATCH] Fix corruption of memmap on IA64 SPARSEMEM when mem_section is not a power of 2

2007-07-25 Thread Andrew Morton
On Wed, 25 Jul 2007 13:55:02 +0100 [EMAIL PROTECTED] (Mel Gorman) wrote: > > mm/sparse.c: In function `sparse_init': > > mm/sparse.c:482: error: implicit declaration of function > > `sparse_early_usemap_alloc' > > mm/sparse.c:482: warning: assignment makes pointer from integer without a > >

Re: [PATCH] Fix corruption of memmap on IA64 SPARSEMEM when mem_section is not a power of 2

2007-07-25 Thread Andy Whitcroft
Mel Gorman wrote: > On (24/07/07 22:01), Andrew Morton didst pronounce: >> On Tue, 13 Mar 2007 10:42:02 + [EMAIL PROTECTED] (Mel Gorman) wrote: >> >>> There are problems in the use of SPARSEMEM and pageblock flags that causes >>> problems on ia64. >>> >>> >> SuperH allmodconfig blew up: >> >>

Re: [PATCH] Fix corruption of memmap on IA64 SPARSEMEM when mem_section is not a power of 2

2007-07-25 Thread Mel Gorman
On (25/07/07 15:49), Mel Gorman didst pronounce: > > SuperH allmodconfig blew up: > > > > mm/sparse.c: In function `sparse_init': > > mm/sparse.c:482: error: implicit declaration of function > > `sparse_early_usemap_alloc' > > mm/sparse.c:482: warning: assignment makes pointer from integer

Re: [PATCH] Fix corruption of memmap on IA64 SPARSEMEM when mem_section is not a power of 2

2007-07-25 Thread Mel Gorman
On (24/07/07 22:01), Andrew Morton didst pronounce: > On Tue, 13 Mar 2007 10:42:02 + [EMAIL PROTECTED] (Mel Gorman) wrote: > > > There are problems in the use of SPARSEMEM and pageblock flags that causes > > problems on ia64. > > > > > > SuperH allmodconfig blew up: > > mm/sparse.c: In

Re: [PATCH] Fix corruption of memmap on IA64 SPARSEMEM when mem_section is not a power of 2

2007-07-25 Thread Mel Gorman
On (24/07/07 22:01), Andrew Morton didst pronounce: > On Tue, 13 Mar 2007 10:42:02 + [EMAIL PROTECTED] (Mel Gorman) wrote: > > > There are problems in the use of SPARSEMEM and pageblock flags that causes > > problems on ia64. > > > > The first part of the problem is that units are incorrect

Re: [PATCH] Fix corruption of memmap on IA64 SPARSEMEM when mem_section is not a power of 2

2007-07-25 Thread Mel Gorman
On (24/07/07 22:01), Andrew Morton didst pronounce: On Tue, 13 Mar 2007 10:42:02 + [EMAIL PROTECTED] (Mel Gorman) wrote: There are problems in the use of SPARSEMEM and pageblock flags that causes problems on ia64. The first part of the problem is that units are incorrect in

Re: [PATCH] Fix corruption of memmap on IA64 SPARSEMEM when mem_section is not a power of 2

2007-07-25 Thread Mel Gorman
On (24/07/07 22:01), Andrew Morton didst pronounce: On Tue, 13 Mar 2007 10:42:02 + [EMAIL PROTECTED] (Mel Gorman) wrote: There are problems in the use of SPARSEMEM and pageblock flags that causes problems on ia64. SNIP SuperH allmodconfig blew up: mm/sparse.c: In function

Re: [PATCH] Fix corruption of memmap on IA64 SPARSEMEM when mem_section is not a power of 2

2007-07-25 Thread Mel Gorman
On (25/07/07 15:49), Mel Gorman didst pronounce: SuperH allmodconfig blew up: mm/sparse.c: In function `sparse_init': mm/sparse.c:482: error: implicit declaration of function `sparse_early_usemap_alloc' mm/sparse.c:482: warning: assignment makes pointer from integer without a cast

Re: [PATCH] Fix corruption of memmap on IA64 SPARSEMEM when mem_section is not a power of 2

2007-07-25 Thread Andy Whitcroft
Mel Gorman wrote: On (24/07/07 22:01), Andrew Morton didst pronounce: On Tue, 13 Mar 2007 10:42:02 + [EMAIL PROTECTED] (Mel Gorman) wrote: There are problems in the use of SPARSEMEM and pageblock flags that causes problems on ia64. SNIP SuperH allmodconfig blew up: mm/sparse.c: In

Re: [PATCH] Fix corruption of memmap on IA64 SPARSEMEM when mem_section is not a power of 2

2007-07-25 Thread Andrew Morton
On Wed, 25 Jul 2007 13:55:02 +0100 [EMAIL PROTECTED] (Mel Gorman) wrote: mm/sparse.c: In function `sparse_init': mm/sparse.c:482: error: implicit declaration of function `sparse_early_usemap_alloc' mm/sparse.c:482: warning: assignment makes pointer from integer without a cast

Re: [PATCH] Fix corruption of memmap on IA64 SPARSEMEM when mem_section is not a power of 2

2007-07-24 Thread Andrew Morton
On Tue, 13 Mar 2007 10:42:02 + [EMAIL PROTECTED] (Mel Gorman) wrote: > There are problems in the use of SPARSEMEM and pageblock flags that causes > problems on ia64. > > The first part of the problem is that units are incorrect in > SECTION_BLOCKFLAGS_BITS computation. This results in a

Re: [PATCH] Fix corruption of memmap on IA64 SPARSEMEM when mem_section is not a power of 2

2007-07-24 Thread Andrew Morton
On Tue, 13 Mar 2007 10:42:02 + [EMAIL PROTECTED] (Mel Gorman) wrote: There are problems in the use of SPARSEMEM and pageblock flags that causes problems on ia64. The first part of the problem is that units are incorrect in SECTION_BLOCKFLAGS_BITS computation. This results in a

[PATCH] Fix corruption of memmap on IA64 SPARSEMEM when mem_section is not a power of 2

2007-03-13 Thread Mel Gorman
There are problems in the use of SPARSEMEM and pageblock flags that causes problems on ia64. The first part of the problem is that units are incorrect in SECTION_BLOCKFLAGS_BITS computation. This results in a map_section's section_mem_map being treated as part of a bitmap which isn't good. This

[PATCH] Fix corruption of memmap on IA64 SPARSEMEM when mem_section is not a power of 2

2007-03-13 Thread Mel Gorman
There are problems in the use of SPARSEMEM and pageblock flags that causes problems on ia64. The first part of the problem is that units are incorrect in SECTION_BLOCKFLAGS_BITS computation. This results in a map_section's section_mem_map being treated as part of a bitmap which isn't good. This