[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120817132410.GB28980@kroah.com>
Date: Fri, 17 Aug 2012 06:24:10 -0700
From: Greg KH <gregkh@...uxfoundation.org>
To: qiuxishi <qiuxishi@...il.com>
Cc: akpm@...ux-foundation.org, mgorman@...e.de, tony.luck@...el.com,
yinghai@...nel.org, jiang.liu@...wei.com, qiuxishi@...wei.com,
bessel.wang@...wei.com, wujianguo@...wei.com,
paul.gortmaker@...driver.com, kamezawa.hiroyu@...fujitsu.com,
kosaki.motohiro@...fujitsu.com, rientjes@...gle.com,
minchan@...nel.org, chenkeping@...wei.com, linux-mm@...ck.org,
stable@...r.kernel.org, linux-kernel@...r.kernel.org,
liuj97@...il.com
Subject: Re: [PATCH] memory hotplug: avoid double registration on ia64
platform
On Fri, Aug 17, 2012 at 03:52:47PM +0800, qiuxishi wrote:
> From: Xishi Qiu <qiuxishi@...wei.com>
>
> Hi all,
> There may be have a bug when register section info. For example, on
> an Itanium platform, the pfn range of node0 includes the other nodes.
> So when hot remove memory, we can't free the memmap's page because
> page_count() is 2 after put_page_bootmem().
>
> sparse_remove_one_section()->free_section_usemap()->free_map_bootmem()
> ->put_page_bootmem()
>
> pgdat0: start_pfn=0x100, spanned_pfn=0x20fb00, present_pfn=0x7f8a3, => 0x100-0x20fc00
> pgdat1: start_pfn=0x80000, spanned_pfn=0x80000, present_pfn=0x80000, => 0x80000-0x100000
> pgdat2: start_pfn=0x100000, spanned_pfn=0x80000, present_pfn=0x80000, => 0x100000-0x180000
> pgdat3: start_pfn=0x180000, spanned_pfn=0x80000, present_pfn=0x80000, => 0x180000-0x200000
>
>
> Signed-off-by: Xishi Qiu <qiuxishi@...wei.com>
> ---
> mm/memory_hotplug.c | 10 ++++------
> 1 files changed, 4 insertions(+), 6 deletions(-)
<formletter>
This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read Documentation/stable_kernel_rules.txt
for how to do this properly.
</formletter>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists