Skip to content

RFC mm: proactive reclaim and memory tiering topics

Davidlohr Bueso linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drivers/base/node: cleanup register_node()drivers/base/node.c+7 -73 replies
2/6mm/vmscan: use node_is_toptier helper in node_reclaimmm/vmscan.c+1 -16 replies
3/6mm: make __node_reclaim() more flexibleinclude/trace/events/vmscan.h mm/vmscan.c+31 -280 replies
4/6mm: introduce per-node proactive reclaim interfaceDocumentation/ABI/stable/sysfs-devices-node drivers/base/node.c include/linux/swap.h +1 more+87 -01 reply
5/6mm/migration: export demotion_path of a node via sysfsDocumentation/ABI/stable/sysfs-devices-node drivers/base/node.c include/linux/migrate.h +1 more+61 -143 replies
6/6mm/migrate: export whether or not node is toptier in sysfDocumentation/ABI/stable/sysfs-devices-node drivers/base/node.c+12 -05 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchDavid HildenbrandDavid Rientjes
1/6R-b A-b
2/6A-b
3/6
4/6
5/6
6/6

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

Read the v1 thread

Cover letter [PATCH RFC lsfmm 0/6] mm: proactive reclaim and memory tiering topics

Hello,

With the increasing popularity of memory tiering, the idea of this series is to trigger some discussion around David's[1] system-wide proactive reclaim beyond memcg[2] as well as sysfs as the interface for exporting system-wide tiering information[2]. I am hoping this can be discussed at LSFMM, and while I know many are interested in tiering subjects in general, I have not seen anyone bring this up in the list.

There has been some initial discussion towards the need to expose system-wide tiering information to userspace. I thought I'd start with two sysfs files as a node attribute that exports the demotion_node as well as whether or not the node is fast memory. This was considered (and I agree) better than a new /sys/devices/system/tier/tierN/ interface. So, are we going to go this route? If so, what further information is useful for users? Does having instead a /sys/devices/system/node/nodeN/reclaim/ make sense?

Applies against Linus' current tree and has only been _gently_ tested.

Thanks!

Davidlohr Bueso (6):
drivers/base/node: cleanup register_node() mm/vmscan: use node_is_toptier helper in node_reclaim
mm: make __node_reclaim() more flexible
mm: introduce per-node proactive reclaim interface mm/migration: export demotion_path of a node via sysfs mm/migrate: export whether or not tier is toptier in sysfs

 Documentation/ABI/stable/sysfs-devices-node |  22 ++++
 drivers/base/node.c                         |  68 ++++++++++--
 include/linux/migrate.h                     |  15 +++
 include/linux/swap.h                        |  16 +++
 include/trace/events/vmscan.h               |  12 +--
 mm/migrate.c                                |  15 +--
 mm/vmscan.c                                 | 108 +++++++++++++++-----
 7 files changed, 206 insertions(+), 50 deletions(-)

--
2.26.2