Skip to content

RFC mm, memory_hotplug: remove zone onlining restriction

Michal Hocko linux-api linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm, memory_hotplug: display allowed zones in the preferred orderingdrivers/base/memory.c include/linux/memory_hotplug.h mm/memory_hotplug.c+65 -432 replies
2/2mm, memory_hotplug: remove zone restrictionsdrivers/base/memory.c mm/memory_hotplug.c+23 -5417 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJoonsoo KimVlastimil Babka
1/2A-b A-b
2/2A-b

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

Read the v1 thread

Cover letter [RFC PATCH 0/2] mm, memory_hotplug: remove zone onlining restriction

Hi,
I am sending this as an RFC because this hasn't seen a lot of testing yet but I would like to see whether the semantic I came up with (see patch 2) is sensible. This work should help Joonsoo with his CMA zone based approach when reusing MOVABLE zone. I think it will also help to remove more code from the memory hotplug (e.g. zone shrinking).

Patch 1 restores original memoryXY/valid_zones semantic wrt zone ordering. This can be merged without patch 2 which removes the zone overlap restriction and defines a semantic for the default onlining. See more in the patch.

Questions, concerns, objections?

Shortlog
Michal Hocko (2):
mm, memory_hotplug: display allowed zones in the preferred ordering mm, memory_hotplug: remove zone restrictions

Diffstat

 drivers/base/memory.c          | 30 ++++++++++-----
 include/linux/memory_hotplug.h |  2 +-
 mm/memory_hotplug.c            | 87 +++++++++++++++++-------------------------
 3 files changed, 55 insertions(+), 64 deletions(-)

--
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>