Re: [RFC PATCH 2/12] memory-hogplug : check memory offline in offline_pages

2012-07-01 Thread Yasuaki Ishimatsu
Hi Jiang, Thank you for your feedback. 2012/07/01 0:46, Jiang Liu wrote: On 06/27/2012 01:44 PM, Yasuaki Ishimatsu wrote: When offline_pages() is called to offlined memory, the function fails since all memory has been offlined. In this case, the function should succeed. The patch adds the

Re: [RFC PATCH 2/12] memory-hogplug : check memory offline in offline_pages

2012-07-01 Thread Yasuaki Ishimatsu
Hi Jiang, 2012/07/01 0:51, Jiang Liu wrote: On 06/27/2012 01:44 PM, Yasuaki Ishimatsu wrote: When offline_pages() is called to offlined memory, the function fails since all memory has been offlined. In this case, the function should succeed. The patch adds the check function into

Re: [RFC PATCH 2/12] memory-hogplug : check memory offline in offline_pages

2012-06-30 Thread Jiang Liu
On 06/27/2012 01:44 PM, Yasuaki Ishimatsu wrote: When offline_pages() is called to offlined memory, the function fails since all memory has been offlined. In this case, the function should succeed. The patch adds the check function into offline_pages(). CC: Len Brown len.br...@intel.com CC:

Re: [RFC PATCH 2/12] memory-hogplug : check memory offline in offline_pages

2012-06-30 Thread Jiang Liu
On 06/27/2012 01:44 PM, Yasuaki Ishimatsu wrote: When offline_pages() is called to offlined memory, the function fails since all memory has been offlined. In this case, the function should succeed. The patch adds the check function into offline_pages(). CC: Len Brown len.br...@intel.com CC:

Re: [RFC PATCH 2/12] memory-hogplug : check memory offline in offline_pages

2012-06-28 Thread Yasuaki Ishimatsu
Hi Kosaki-san, 2012/06/28 14:27, KOSAKI Motohiro wrote: On Thu, Jun 28, 2012 at 1:06 AM, Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com wrote: Hi Wen, 2012/06/27 17:49, Wen Congyang wrote: At 06/27/2012 01:44 PM, Yasuaki Ishimatsu Wrote: When offline_pages() is called to offlined memory,

Re: [RFC PATCH 2/12] memory-hogplug : check memory offline in offline_pages

2012-06-28 Thread Yasuaki Ishimatsu
Hi Kosaki-san, 2012/06/28 14:26, KOSAKI Motohiro wrote: On Wed, Jun 27, 2012 at 1:44 AM, Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com wrote: When offline_pages() is called to offlined memory, the function fails since all memory has been offlined. In this case, the function should succeed.

Re: [RFC PATCH 2/12] memory-hogplug : check memory offline in offline_pages

2012-06-28 Thread Yasuaki Ishimatsu
Hi David, 2012/06/27 15:16, David Rientjes wrote: On Wed, 27 Jun 2012, Yasuaki Ishimatsu wrote: Index: linux-3.5-rc4/mm/memory_hotplug.c === --- linux-3.5-rc4.orig/mm/memory_hotplug.c 2012-06-26 13:28:16.743211538 +0900 +++

Re: [RFC PATCH 2/12] memory-hogplug : check memory offline in offline_pages

2012-06-27 Thread David Rientjes
On Wed, 27 Jun 2012, Yasuaki Ishimatsu wrote: Index: linux-3.5-rc4/mm/memory_hotplug.c === --- linux-3.5-rc4.orig/mm/memory_hotplug.c2012-06-26 13:28:16.743211538 +0900 +++ linux-3.5-rc4/mm/memory_hotplug.c 2012-06-26

[RFC PATCH 2/12] memory-hogplug : check memory offline in offline_pages

2012-06-27 Thread Yasuaki Ishimatsu
When offline_pages() is called to offlined memory, the function fails since all memory has been offlined. In this case, the function should succeed. The patch adds the check function into offline_pages(). CC: Len Brown len.br...@intel.com CC: Benjamin Herrenschmidt b...@kernel.crashing.org CC:

Re: [RFC PATCH 2/12] memory-hogplug : check memory offline in offline_pages

2012-06-27 Thread Wen Congyang
At 06/27/2012 01:44 PM, Yasuaki Ishimatsu Wrote: When offline_pages() is called to offlined memory, the function fails since all memory has been offlined. In this case, the function should succeed. The patch adds the check function into offline_pages(). You miss such case: some pages are

Re: [RFC PATCH 2/12] memory-hogplug : check memory offline in offline_pages

2012-06-27 Thread KOSAKI Motohiro
On Wed, Jun 27, 2012 at 1:44 AM, Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com wrote: When offline_pages() is called to offlined memory, the function fails since all memory has been offlined. In this case, the function should succeed. The patch adds the check function into offline_pages().

Re: [RFC PATCH 2/12] memory-hogplug : check memory offline in offline_pages

2012-06-27 Thread KOSAKI Motohiro
On Thu, Jun 28, 2012 at 1:06 AM, Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com wrote: Hi Wen, 2012/06/27 17:49, Wen Congyang wrote: At 06/27/2012 01:44 PM, Yasuaki Ishimatsu Wrote: When offline_pages() is called to offlined memory, the function fails since all memory has been offlined. In