lkml.org 
[lkml]   [2004]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Lhms-devel] Re: Merging Nonlinear and Numa style memory hotplug
From
Date
On Fri, 2004-06-25 at 11:48, Yasunori Goto wrote:
> >
> > > Should this translation be in common code?
> >
> > What do you mean by common code? It should be shared by all
> > architectures.
>
> If physical memory chunk size is larger than the area which
> should be contiguous like IA32's kmalloc,
> there is no merit in this code.
> So, I thought only mem_section is enough.
> But I don't know about other architecutures yet and I'm not sure.
>
> Are you sure that all architectures need phys_section?

You don't *need* it, but the alternative is a scan of the mem_section[]
array, which would be much, much slower.

Do you have an idea for an alternate implementation?

-- Dave

-
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-03-22 14:04    [W:0.555 / U:0.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site