Re: [RFC] memory hotremove patch take 2 [04/10] (isolate all free pages)

2007-05-10 Thread KAMEZAWA Hiroyuki
On Thu, 10 May 2007 17:42:54 +0100 (IST) Mel Gorman <[EMAIL PROTECTED]> wrote: > > + if (!pfn_valid(pfn)) > > + return -EINVAL; > > This may lead to boundary cases where pages cannot be captured at the > start and end of non-aligned zones due to memory holes. > Hm, ok. maybe we can

Re: [RFC] memory hotremove patch take 2 [04/10] (isolate all free pages)

2007-05-10 Thread Christoph Lameter
I think would also be taken care of by Mel's existing framework. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [RFC] memory hotremove patch take 2 [04/10] (isolate all free pages)

2007-05-10 Thread Mel Gorman
On Wed, 9 May 2007, Yasunori Goto wrote: Isolate all freed pages (means in buddy_list) in the range. See page_buddy() and free_one_page() function if unsure. Signed-Off-By: KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> Signed-off-by: Yasunori Goto <[EMAIL PROTECTED]> include/linux/page_isolation.h |

Re: [RFC] memory hotremove patch take 2 [04/10] (isolate all free pages)

2007-05-10 Thread Mel Gorman
On Wed, 9 May 2007, Yasunori Goto wrote: Isolate all freed pages (means in buddy_list) in the range. See page_buddy() and free_one_page() function if unsure. Signed-Off-By: KAMEZAWA Hiroyuki [EMAIL PROTECTED] Signed-off-by: Yasunori Goto [EMAIL PROTECTED] include/linux/page_isolation.h |1

Re: [RFC] memory hotremove patch take 2 [04/10] (isolate all free pages)

2007-05-10 Thread Christoph Lameter
I think would also be taken care of by Mel's existing framework. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [RFC] memory hotremove patch take 2 [04/10] (isolate all free pages)

2007-05-10 Thread KAMEZAWA Hiroyuki
On Thu, 10 May 2007 17:42:54 +0100 (IST) Mel Gorman [EMAIL PROTECTED] wrote: + if (!pfn_valid(pfn)) + return -EINVAL; This may lead to boundary cases where pages cannot be captured at the start and end of non-aligned zones due to memory holes. Hm, ok. maybe we can remove

[RFC] memory hotremove patch take 2 [04/10] (isolate all free pages)

2007-05-08 Thread Yasunori Goto
Isolate all freed pages (means in buddy_list) in the range. See page_buddy() and free_one_page() function if unsure. Signed-Off-By: KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> Signed-off-by: Yasunori Goto <[EMAIL PROTECTED]> include/linux/page_isolation.h |1 mm/page_alloc.c|

[RFC] memory hotremove patch take 2 [04/10] (isolate all free pages)

2007-05-08 Thread Yasunori Goto
Isolate all freed pages (means in buddy_list) in the range. See page_buddy() and free_one_page() function if unsure. Signed-Off-By: KAMEZAWA Hiroyuki [EMAIL PROTECTED] Signed-off-by: Yasunori Goto [EMAIL PROTECTED] include/linux/page_isolation.h |1 mm/page_alloc.c| 45