Re: [Lhms-devel] Re: Merging Nonlinear and Numa style memory hotplug

Dave Hansen
2004-06-25T18:59:33Z

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?