Re: [PATCH 1 of 6] hotplug-memory: refactor online_pages to separate zone growth from page onlining

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeremy Fitzhardinge
Date: Thursday, April 3, 2008 - 10:34 pm

Yasunori Goto wrote:

OK.  I didn't really understand the intent this logic in the 
GOING_ONLINE notifier path:

	arg.status_change_nid = -1;

	nid = page_to_nid(pfn_to_page(pfn));
	if (node_present_pages(nid) == 0)
		arg.status_change_nid = nid;

and how that should relate to the ONLINE notifier.


Only for GOING_ONLINE. 

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

Messages in current thread:
[PATCH 0 of 6] [RFC] another attempt at making hotplug mem ..., Jeremy Fitzhardinge, (Thu Apr 3, 5:05 pm)
[PATCH 1 of 6] hotplug-memory: refactor online_pages to se ..., Jeremy Fitzhardinge, (Thu Apr 3, 5:05 pm)
[PATCH 2 of 6] xen: make phys_to_machine structure dynamic, Jeremy Fitzhardinge, (Thu Apr 3, 5:05 pm)
[PATCH 3 of 6] xen-balloon: use memory hot-add to expand t ..., Jeremy Fitzhardinge, (Thu Apr 3, 5:05 pm)
[PATCH 4 of 6] hotplug-memory: use common online_page, Jeremy Fitzhardinge, (Thu Apr 3, 5:05 pm)
[PATCH 5 of 6] hotplug-memory: add section_ops, Jeremy Fitzhardinge, (Thu Apr 3, 5:05 pm)
[PATCH 6 of 6] xen-balloon: define a section_ops, Jeremy Fitzhardinge, (Thu Apr 3, 5:05 pm)
Re: [PATCH 5 of 6] hotplug-memory: add section_ops, Dave Hansen, (Thu Apr 3, 5:51 pm)
Re: [PATCH 4 of 6] hotplug-memory: use common online_page, Jeremy Fitzhardinge, (Thu Apr 3, 5:56 pm)
Re: [PATCH 4 of 6] hotplug-memory: use common online_page, Jeremy Fitzhardinge, (Thu Apr 3, 6:11 pm)
Re: [PATCH 5 of 6] hotplug-memory: add section_ops, Jeremy Fitzhardinge, (Thu Apr 3, 6:12 pm)
Re: [PATCH 1 of 6] hotplug-memory: refactor online_pages t ..., Jeremy Fitzhardinge, (Thu Apr 3, 6:20 pm)
Re: [PATCH 1 of 6] hotplug-memory: refactor online_pages t ..., Jeremy Fitzhardinge, (Thu Apr 3, 6:32 pm)
Re: [PATCH 5 of 6] hotplug-memory: add section_ops, KAMEZAWA Hiroyuki, (Thu Apr 3, 6:47 pm)
Re: [PATCH 5 of 6] hotplug-memory: add section_ops, Dave Hansen, (Thu Apr 3, 6:52 pm)
Re: [PATCH 5 of 6] hotplug-memory: add section_ops, Jeremy Fitzhardinge, (Thu Apr 3, 10:32 pm)
Re: [PATCH 1 of 6] hotplug-memory: refactor online_pages t ..., Jeremy Fitzhardinge, (Thu Apr 3, 10:34 pm)
Re: [PATCH 5 of 6] hotplug-memory: add section_ops, Jeremy Fitzhardinge, (Thu Apr 3, 10:35 pm)
Re: [PATCH 5 of 6] hotplug-memory: add section_ops, Dave Hansen, (Fri Apr 4, 7:22 am)
Re: [PATCH 5 of 6] hotplug-memory: add section_ops, Jeremy Fitzhardinge, (Fri Apr 4, 11:21 am)
Re: [PATCH 5 of 6] hotplug-memory: add section_ops, Christoph Lameter, (Fri Apr 4, 12:28 pm)
Re: [PATCH 5 of 6] hotplug-memory: add section_ops, Jeremy Fitzhardinge, (Fri Apr 4, 1:38 pm)