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: Jeremy Fitzhardinge <jeremy@...>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...>, Yasunori Goto <y-goto@...>, Ingo Molnar <mingo@...>, LKML <linux-kernel@...>, Rusty Russell <rusty@...>, Christoph Lameter <clameter@...>, Andrew Morton <akpm@...>
Date: Friday, March 28, 2008 - 2:27 pm

On Fri, 2008-03-28 at 11:19 -0700, Jeremy Fitzhardinge wrote:

Yeah, you certainly don't want to be messing with things like the zone
boundaries for each page online operation.  

All that you really want to do is hook into add_one_highpage_hotplug()
and keep the pages from going back into the allocator, right?  Then, you
can have the Xen code go and actually free_page() on them, later.

I don't think *any* of this code actually touches the new physical pages
themselves.  The issue that you're probably seeing is because they get
stuck into the allocator and some other user grabs them right away and
*does* touch them.  

-- Dave

--
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)
Re: [PATCH 2 of 4] hotplug-memory: adding non-section-aligne..., Dave Hansen, (Fri Mar 28, 2:27 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