login
Header Space

 
 

Re: Trying to make use of hotplug memory for xen balloon driver

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeremy Fitzhardinge <jeremy@...>
Cc: Yasunori Goto <y-goto@...>, Christoph Lameter <clameter@...>, Linux Kernel Mailing List <linux-kernel@...>, Anthony Liguori <anthony@...>, Chris Wright <chrisw@...>
Date: Thursday, March 27, 2008 - 8:20 pm

On Thu, 27 Mar 2008 13:54:52 -0700
Jeremy Fitzhardinge <jeremy@goop.org> wrote:

Ah, Now, section number of the page is encoded in page->flags.
(Sorry, I'm usually working on 64bit memory-hotplug...)
see mm.h
==
 371  * There are three possibilities for how page->flags get
 372  * laid out.  The first is for the normal case, without
 373  * sparsemem.  The second is for sparsemem when there is
 374  * plenty of space for node and section.  The last is when
 375  * we have run out of space and have to fall back to an
 376  * alternate (slower) way of determining the node.
 377  *
 378  *        No sparsemem: |       NODE     | ZONE | ... | FLAGS |
 379  * with space for node: | SECTION | NODE | ZONE | ... | FLAGS |
 380  *   no space for node: | SECTION |     ZONE    | ... | FLAGS |
==

Hmm, in other archs, sparsemem-vmemmap allows us to remove bits for section
(recent Christoph's work.) But for x86-32, kernel's NORMAL area seems to be
not enough to maintain vmemmap.

I have no good idea against this, now.

Thanks,
-Kame




--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Trying to make use of hotplug memory for xen balloon driver, Jeremy Fitzhardinge, (Wed Mar 26, 7:11 pm)
Re: Trying to make use of hotplug memory for xen balloon dri..., KAMEZAWA Hiroyuki, (Wed Mar 26, 8:50 pm)
Re: Trying to make use of hotplug memory for xen balloon dri..., Jeremy Fitzhardinge, (Thu Mar 27, 1:57 am)
Re: Trying to make use of hotplug memory for xen balloon dri..., KAMEZAWA Hiroyuki, (Thu Mar 27, 2:11 am)
Re: Trying to make use of hotplug memory for xen balloon dri..., Jeremy Fitzhardinge, (Thu Mar 27, 4:54 pm)
Re: Trying to make use of hotplug memory for xen balloon dri..., KAMEZAWA Hiroyuki, (Thu Mar 27, 8:20 pm)
Re: Trying to make use of hotplug memory for xen balloon dri..., Jeremy Fitzhardinge, (Thu Mar 27, 2:09 am)
Re: Trying to make use of hotplug memory for xen balloon dri..., Jeremy Fitzhardinge, (Thu Mar 27, 6:23 pm)
Re: Trying to make use of hotplug memory for xen balloon dri..., Christoph Lameter, (Wed Mar 26, 9:23 pm)
Re: Trying to make use of hotplug memory for xen balloon dri..., Jeremy Fitzhardinge, (Wed Mar 26, 8:15 pm)
speck-geostationary