Re: [PATCH 1/2] mm: vmemmap: x86: add vmemmap_verify check for hot-add node case

2013-04-08 Thread Lin Feng
Hi all, On 04/08/2013 05:56 PM, Lin Feng wrote: > diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c > index 474e28f..e2a7277 100644 > --- a/arch/x86/mm/init_64.c > +++ b/arch/x86/mm/init_64.c > @@ -1318,6 +1318,8 @@ vmemmap_populate(struct page *start_page, unsigned long > size, int

[PATCH 1/2] mm: vmemmap: x86: add vmemmap_verify check for hot-add node case

2013-04-08 Thread Lin Feng
In hot add node(memory) case, vmemmap pages are always allocated from other node, but the current logic just skip vmemmap_verify check. So we should also issue "potential offnode page_structs" warning messages if we are the case. Cc: Christoph Lameter Cc: Thomas Gleixner Cc: Ingo Molnar Cc:

[PATCH 1/2] mm: vmemmap: x86: add vmemmap_verify check for hot-add node case

2013-04-08 Thread Lin Feng
In hot add node(memory) case, vmemmap pages are always allocated from other node, but the current logic just skip vmemmap_verify check. So we should also issue potential offnode page_structs warning messages if we are the case. Cc: Christoph Lameter c...@linux.com Cc: Thomas Gleixner

Re: [PATCH 1/2] mm: vmemmap: x86: add vmemmap_verify check for hot-add node case

2013-04-08 Thread Lin Feng
Hi all, On 04/08/2013 05:56 PM, Lin Feng wrote: diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 474e28f..e2a7277 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -1318,6 +1318,8 @@ vmemmap_populate(struct page *start_page, unsigned long size, int node)