lkml.org 
[lkml]   [2005]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [3/3] sparsemem memory model for ppc64
On Wed, May 04, 2005 at 09:30:57PM +0100, Andy Whitcroft wrote:
> + /*
> + * Note presence of first (logical/coalasced) LMB which will
> + * contain RMO region
> + */
> + start_pfn = lmb.memory.region[0].physbase >> PAGE_SHIFT;
> + end_pfn = start_pfn + (lmb.memory.region[0].size >> PAGE_SHIFT);
> + memory_present(0, start_pfn, end_pfn);

I need to take a close look at this again, but I think this special
handling for the RMO region in unnecessary. I added it in the 'early
days of SPARSE' when there were some 'bootstrap' issues and we needed
to initialize some memory before setting up the bootmem bitmap. I'm
pretty sure all those issues have gone away.

--
Mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-05 19:57    [W:0.347 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site