lkml.org 
[lkml]   [2013]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Part1 PATCH v5 00/22] x86, ACPI, numa: Parse numa info earlier
Hey,

On Fri, Jun 21, 2013 at 05:19:48PM +0800, Tang Chen wrote:
> >* As memblock allocator can relocate itself. There's no point in
> > avoiding setting NUMA node while parsing and registering NUMA
> > topology. Just parse and register NUMA info and later tell it to
> > relocate itself out of hot-pluggable node. A number of patches in
> > the series is doing this dancing - carefully reordering NUMA
> > probing. No need to do that. It's really fragile thing to do.
> >
> >* Once you get the above out of the way, I don't think there are a lot
> > of permanent allocations in the way before NUMA is initialized.
> > Re-order the remaining ones if that's cleaner to do. If that gets
> > overly messy / fragile, copying them around or freeing and reloading
> > afterwards could be an option too.
>
> memblock allocator can relocate itself, but it cannot relocate the memory

Hmmm... maybe I wasn't clear but that's the first bullet point above.

> it allocated for users. There could be some pointers pointing to these
> memory ranges. If we do the relocation, how to update these pointers ?

And the second. Can you please list what persistent areas are
allocated before numa info is configured into memblock? There
shouldn't be whole lot. And, again, this type of information should
have been available in the head message so that high-level discussion
could take place right away.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2013-06-21 20:41    [W:0.144 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site