linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [Patch v4 0/8] bugfix for memory hotplug
@ 2012-10-31 11:23 Wen Congyang
  2012-10-31 11:23 ` [Patch v4 1/8] memory hotplug: suppress "Device memoryX does not have a release() function" warning Wen Congyang
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Wen Congyang @ 2012-10-31 11:23 UTC (permalink / raw)
  To: linux-mm, linux-kernel, linux-acpi
  Cc: Jiang Liu, Len Brown, Andrew Morton, KOSAKI Motohiro,
	Yasuaki Ishimatsu, rjw, Lai Jiangshan, Wen Congyang

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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-11-01  2:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-31 11:23 [Patch v4 0/8] bugfix for memory hotplug Wen Congyang
2012-10-31 11:23 ` [Patch v4 1/8] memory hotplug: suppress "Device memoryX does not have a release() function" warning Wen Congyang
2012-10-31 11:23 ` [Patch v4 2/8] memory-hotplug: auto offline page_cgroup when onlining memory block failed Wen Congyang
2012-10-31 11:23 ` [Patch v4 3/8] memory-hotplug: fix NR_FREE_PAGES mismatch Wen Congyang
2012-10-31 13:41   ` Jianguo Wu
2012-11-01  3:00     ` Wen Congyang
2012-11-01  2:55   ` [PATCH] memory-hotplug: fix NR_FREE_PAGES mismatch's fix Wen Congyang
2012-10-31 11:23 ` [Patch v4 4/8] numa: convert static memory to dynamically allocated memory for per node device Wen Congyang
2012-10-31 11:23 ` [Patch v4 5/8] suppress "Device nodeX does not have a release() function" warning Wen Congyang
2012-10-31 11:23 ` [Patch v4 6/8] clear the memory to store struct page Wen Congyang
2012-10-31 11:23 ` [Patch v4 7/8] memory-hotplug: current hwpoison doesn't support memory offline Wen Congyang
2012-10-31 11:23 ` [Patch v4 8/8] memory-hotplug: allocate zone's pcp before onlining pages Wen Congyang
2012-10-31 11:32 ` [Patch v4 0/8] bugfix for memory hotplug Wen Congyang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).