login
Header Space

 
 

Re: [PATCH 2 of 4] hotplug-memory: adding non-section-aligned memory is bad

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Yasunori Goto <y-goto@...>
Cc: Jeremy Fitzhardinge <jeremy@...>, Ingo Molnar <mingo@...>, LKML <linux-kernel@...>, Rusty Russell <rusty@...>, Christoph Lameter <clameter@...>, Dave Hansen <dave@...>, Andrew Morton <akpm@...>
Date: Thursday, March 27, 2008 - 9:54 pm

On Fri, 28 Mar 2008 10:34:51 +0900
Yasunori Goto <y-goto@jp.fujitsu.com> wrote:
Ah, ok. sorry.

Jeremy, I think you can check whether you have 'struct page' or not by
pfn_valid(). 

If pfn_valid() == false, you should call add_memory() and create
a section/mem_map. If pfn_valid() == true, you should just remove
PG_reserved bit in mem_map by online_page().

Thanks,
-Kame

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

Messages in current thread:
[PATCH 0 of 4] [RFC] hotplug memory: minor updates, Jeremy Fitzhardinge, (Thu Mar 27, 8:28 pm)
Re: [PATCH 0 of 4] [RFC] hotplug memory: minor updates, Ingo Molnar, (Fri Mar 28, 5:12 am)
Re: [PATCH 0 of 4] [RFC] hotplug memory: minor updates, Jeremy Fitzhardinge, (Fri Mar 28, 12:07 pm)
Re: [PATCH 0 of 4] [RFC] hotplug memory: minor updates, Ingo Molnar, (Fri Mar 28, 6:04 pm)
[PATCH 2 of 4] hotplug-memory: adding non-section-aligned me..., Jeremy Fitzhardinge, (Thu Mar 27, 8:28 pm)
Re: [PATCH 2 of 4] hotplug-memory: adding non-section-aligne..., KAMEZAWA Hiroyuki, (Thu Mar 27, 9:27 pm)
Re: [PATCH 2 of 4] hotplug-memory: adding non-section-aligne..., KAMEZAWA Hiroyuki, (Thu Mar 27, 9:54 pm)
Re: [PATCH 2 of 4] hotplug-memory: adding non-section-aligne..., Jeremy Fitzhardinge, (Thu Mar 27, 10:13 pm)
Re: [PATCH 2 of 4] hotplug-memory: adding non-section-aligne..., KAMEZAWA Hiroyuki, (Thu Mar 27, 10:33 pm)
Re: [PATCH 2 of 4] hotplug-memory: adding non-section-aligne..., Jeremy Fitzhardinge, (Fri Mar 28, 5:30 pm)
Re: [PATCH 2 of 4] hotplug-memory: adding non-section-aligne..., Jeremy Fitzhardinge, (Thu Mar 27, 10:51 pm)
Re: [PATCH 2 of 4] hotplug-memory: adding non-section-aligne..., Jeremy Fitzhardinge, (Fri Mar 28, 12:07 am)
Re: [PATCH 2 of 4] hotplug-memory: adding non-section-aligne..., KAMEZAWA Hiroyuki, (Thu Mar 27, 11:17 pm)
Re: [PATCH 2 of 4] hotplug-memory: adding non-section-aligne..., Jeremy Fitzhardinge, (Fri Mar 28, 12:20 am)
Re: [PATCH 2 of 4] hotplug-memory: adding non-section-aligne..., KAMEZAWA Hiroyuki, (Fri Mar 28, 12:39 am)
Re: [PATCH 2 of 4] hotplug-memory: adding non-section-aligne..., Jeremy Fitzhardinge, (Fri Mar 28, 2:19 pm)
[PATCH 3 of 4] sparsemem: reduce i386 PAE section size, Jeremy Fitzhardinge, (Thu Mar 27, 8:28 pm)
Re: [PATCH 3 of 4] sparsemem: reduce i386 PAE section size, Christoph Lameter, (Thu Mar 27, 8:35 pm)
Re: [PATCH 3 of 4] sparsemem: reduce i386 PAE section size, Jeremy Fitzhardinge, (Thu Mar 27, 10:26 pm)
Re: [PATCH 3 of 4] sparsemem: reduce i386 PAE section size, Christoph Lameter, (Thu Mar 27, 10:27 pm)
Re: [PATCH 3 of 4] sparsemem: reduce i386 PAE section size, Jeremy Fitzhardinge, (Fri Mar 28, 2:18 am)
Re: [PATCH 3 of 4] sparsemem: reduce i386 PAE section size, Jeremy Fitzhardinge, (Fri Mar 28, 2:05 pm)
[PATCH 4 of 4] paravirt_ops: don't steal memory resources in..., Jeremy Fitzhardinge, (Thu Mar 27, 8:28 pm)
[PATCH 1 of 4] hotplug-memory: add add_memory_resource, Jeremy Fitzhardinge, (Thu Mar 27, 8:28 pm)
speck-geostationary