Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935458Ab2JaLsd (ORCPT ); Wed, 31 Oct 2012 07:48:33 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:51732 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1755605Ab2JaLsW (ORCPT ); Wed, 31 Oct 2012 07:48:22 -0400 X-IronPort-AV: E=Sophos;i="4.80,687,1344182400"; d="scan'208";a="6108897" From: Wen Congyang To: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Cc: Jiang Liu , Len Brown , Andrew Morton , KOSAKI Motohiro , Yasuaki Ishimatsu , rjw@sisk.pl, Lai Jiangshan , Wen Congyang Subject: [Patch v4 0/8] bugfix for memory hotplug Date: Wed, 31 Oct 2012 19:23:06 +0800 Message-Id: <1351682594-17347-1-git-send-email-wency@cn.fujitsu.com> X-Mailer: git-send-email 1.8.0 X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2012/10/31 19:16:44, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2012/10/31 19:16:50, Serialize complete at 2012/10/31 19:16:50 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2734 Lines: 68 The last version is here: https://lkml.org/lkml/2012/10/19/56 Note: patch 1-3 are in -mm tree and I don't touch them. The other patches except patch6 are also in mm tree. Patch 6 is not touched. Changes from v3 to v4: Patch4: use dynamically allocated memory instead of static array. Patch5: merge [patchv3 2-3] into a single patch, and update it as we use dynamically allocated memory Patch7: merge [patchv3 5-6] into a single patch Patch8: merge [patchv3 9] and its fix into a patch Changes from v2 to v3: Merge the bug fix from ishimatsu to this patchset(Patch 1-3) Patch 3: split it from patch as it fixes another bug. Patch 4: new patch, and fix bad-page state when hotadding a memory device after hotremoving it. I forgot to post this patch in v2. Patch 6: update it according to Dave Hansen's comment. Changes from v1 to v2: Patch 1: updated according to kosaki's suggestion Patch 2: new patch, and update mce_bad_pages when removing memory. Patch 4: new patch, and fix a NR_FREE_PAGES mismatch, and this bug cause oom in my test. Patch 5: new patch, and fix a new bug. When repeating to online/offline pages, the free pages will continue to decrease. Wen Congyang (6): memory-hotplug: auto offline page_cgroup when onlining memory block failed memory-hotplug: fix NR_FREE_PAGES mismatch numa: convert static memory to dynamically allocated memory for per node device clear the memory to store struct page memory-hotplug: current hwpoison doesn't support memory offline memory-hotplug: allocate zone's pcp before onlining pages Yasuaki Ishimatsu (2): memory hotplug: suppress "Device memoryX does not have a release() function" warning suppress "Device nodeX does not have a release() function" warning arch/powerpc/kernel/sysfs.c | 4 +-- drivers/base/memory.c | 9 ++++++- drivers/base/node.c | 56 ++++++++++++++++++++++++++++++------------ include/linux/node.h | 2 +- include/linux/page-isolation.h | 10 +++++--- mm/hugetlb.c | 4 +-- mm/memory-failure.c | 2 +- mm/memory_hotplug.c | 13 +++++++--- mm/page_alloc.c | 37 +++++++++++++++++++++------- mm/page_cgroup.c | 3 +++ mm/page_isolation.c | 27 ++++++++++++++------ mm/sparse.c | 25 ++++++++++++++++++- 12 files changed, 144 insertions(+), 48 deletions(-) -- 1.8.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/