Skip to content

Support memory cgroup hotplug

Balbir Singh linux-mm linuxppc-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 11 repliesIn review
  2. v1 posting 2/23 patches 7 repliesSuperseded
  3. v1 posting 1/23 patches 3 repliesSuperseded

Changes in v2 from the cover letter

Add get/put_online_mems() around node iteration
Use MEM_OFFLINE/MEM_ONLINE instead of MEM_GOING_OFFLINE/ONLINE

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm: Add basic infrastructure for memcg hotplug supportmm/memcontrol.c+38 -80 replies
2/3mm: Move operations to hotplug callbacksmm/memcontrol.c+75 -80 replies
3/3powerpc/mm: fix node_possible_map limitationsarch/powerpc/mm/numa.c+0 -70 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMichael Ellerman
1/3
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [mm v2 0/3] Support memory cgroup hotplug

In the absence of hotplug we use extra memory proportional to (possible_nodes - online_nodes) * number_of_cgroups. PPC64 has a patch to disable large consumption with large number of cgroups. This patch adds hotplug support to memory cgroups and reverts the commit that limited possible nodes to online nodes.

Cc Tejun Heo <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Johannes Weiner <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Vladimir Davydov <[email protected]>

I've tested this patches under a VM with two nodes and movable nodes enabled. I've offlined nodes and checked that the system and cgroups with tasks deep in the hierarchy continue to work fine.

These patches are on top of linux-next (20161117)

Changelog v2:
Add get/put_online_mems() around node iteration
Use MEM_OFFLINE/MEM_ONLINE instead of MEM_GOING_OFFLINE/ONLINE

Balbir Singh (3):
mm: Add basic infrastructure for memcg hotplug support
mm: Move operations to hotplug callbacks powerpc/mm: fix node_possible_map limitations

 arch/powerpc/mm/numa.c |   7 ----
 mm/memcontrol.c        | 107 +++++++++++++++++++++++++++++++++++++++++++------
 2 files changed, 94 insertions(+), 20 deletions(-)
Signature · 7 lines
2.5.5

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>