[PATCH v3 0/3] x86/resctrl: Implement rename to help move containers' tasks
From: Peter Newman
Date: Wed Jan 25 2023 - 05:13:49 EST
Hi Reinette, Fenghua,
This patch series implements the solution Reinette suggested in the
earlier RFD thread[1] for the problem of moving a container's tasks to a
different control group on systems that don't provide enough CLOSIDs to
give every container its own control group.
This patch series assumes that a MON group's CLOSID can simply be
changed to that of a new parent CTRL_MON group. This is allowed on Intel
and AMD, but not MPAM implementations. While we (Google) only foresee
needing this functionality on Intel and AMD systems, this series should
hopefully be a good starting point for supporting MPAM.
Thanks!
-Peter
Updates:
v3: use revised task CLOSID/RMID update IPI sync method from [3]
v2: reworded change logs based on what I've learned from review comments
in another patch series[2]
[v1] https://lore.kernel.org/lkml/20221115154515.952783-1-peternewman@xxxxxxxxxx/
[v2] https://lore.kernel.org/lkml/20221129120149.1035444-1-peternewman@xxxxxxxxxx/
[1] https://lore.kernel.org/lkml/7b09fb62-e61a-65b9-a71e-ab725f527ded@xxxxxxxxx/
[2] https://lore.kernel.org/lkml/54e50a9b-268f-2020-f54c-d38312489e2f@xxxxxxxxx/
[3] https://lore.kernel.org/lkml/20221220161123.432120-1-peternewman@xxxxxxxxxx/
Peter Newman (3):
x86/resctrl: Factor rdtgroup lock for multi-file ops
x86/resctrl: Factor work to update task CLOSID/RMID
x86/resctrl: Implement rename op for mon groups
arch/x86/kernel/cpu/resctrl/rdtgroup.c | 170 ++++++++++++++++++-------
1 file changed, 126 insertions(+), 44 deletions(-)
base-commit: 2241ab53cbb5cdb08a6b2d4688feb13971058f65
--
2.39.1.405.gd4c25cc71f-goog