mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] x86/resctrl: Implement rename to help move containers' tasks
@ 2022-11-29 12:01 Peter Newman
  2022-11-29 12:01 ` [PATCH v2 1/2] x86/resctrl: Factor rdtgroup lock for multi-file ops Peter Newman
  2022-11-29 12:01 ` [PATCH v2 2/2] x86/resctrl: Implement rename op for mon groups Peter Newman
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Newman @ 2022-11-29 12:01 UTC (permalink / raw)
  To: fenghua.yu, reinette.chatre
  Cc: Babu.Moger, bp, dave.hansen, eranian, gupasani, hpa, james.morse,
	linux-kernel, mingo, tglx, x86, Peter Newman

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 change originally depended on the CLOSID update race fix[2] to
provide a race-free mechanism for notifying the CPUs where moved tasks
were residing. However, now that the current guidance for group task
movement is to broadcast IPIs to all CPUs, this patch can be applied
independently.

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:

v2: reworded change logs based on what I've learned from review comments
    in another patch series[3]

[v1] https://lore.kernel.org/lkml/20221115154515.952783-1-peternewman@google.com/

[1] https://lore.kernel.org/lkml/7b09fb62-e61a-65b9-a71e-ab725f527ded@intel.com/
[2] https://lore.kernel.org/lkml/20221103141641.3055981-2-peternewman@google.com/
[3] https://lore.kernel.org/lkml/54e50a9b-268f-2020-f54c-d38312489e2f@intel.com/

Peter Newman (2):
  x86/resctrl: Factor rdtgroup lock for multi-file ops
  x86/resctrl: Implement rename op for mon groups

 arch/x86/kernel/cpu/resctrl/rdtgroup.c | 101 +++++++++++++++++++++----
 1 file changed, 88 insertions(+), 13 deletions(-)


base-commit: b7b275e60bcd5f89771e865a8239325f86d9927d
-- 
2.38.1.584.g0f3c55d4c2-goog


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

end of thread, other threads:[~2022-12-16 15:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-29 12:01 [PATCH v2 0/2] x86/resctrl: Implement rename to help move containers' tasks Peter Newman
2022-11-29 12:01 ` [PATCH v2 1/2] x86/resctrl: Factor rdtgroup lock for multi-file ops Peter Newman
2022-11-29 12:01 ` [PATCH v2 2/2] x86/resctrl: Implement rename op for mon groups Peter Newman
2022-12-16 15:12   ` Peter Newman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®