mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00:00
fe2a20ea0b
The resctrl task assignment for monitor or control group needs to be done one at a time. For example: $mount -t resctrl resctrl /sys/fs/resctrl/ $mkdir /sys/fs/resctrl/ctrl_grp1 $echo 123 > /sys/fs/resctrl/ctrl_grp1/tasks $echo 456 > /sys/fs/resctrl/ctrl_grp1/tasks $echo 789 > /sys/fs/resctrl/ctrl_grp1/tasks This is not user-friendly when dealing with hundreds of tasks. Support multiple task assignment in one command with tasks ids separated by commas. For example: $echo 123,456,789 > /sys/fs/resctrl/ctrl_grp1/tasks Signed-off-by: Babu Moger <babu.moger@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Peter Newman <peternewman@google.com> Reviewed-by: Tan Shaopeng <tan.shaopeng@jp.fujitsu.com> Reviewed-by: Fenghua Yu <fenghua.yu@intel.com> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Tested-by: Peter Newman <peternewman@google.com> Tested-by: Tan Shaopeng <tan.shaopeng@jp.fujitsu.com> Link: https://lore.kernel.org/r/20231017002308.134480-2-babu.moger@amd.com |
||
---|---|---|
.. | ||
i386 | ||
x86_64 | ||
amd-memory-encryption.rst | ||
amd_hsmp.rst | ||
boot.rst | ||
booting-dt.rst | ||
buslock.rst | ||
cpuinfo.rst | ||
earlyprintk.rst | ||
elf_auxvec.rst | ||
entry_64.rst | ||
exception-tables.rst | ||
features.rst | ||
ifs.rst | ||
index.rst | ||
intel-hfi.rst | ||
intel_txt.rst | ||
iommu.rst | ||
kernel-stacks.rst | ||
mds.rst | ||
microcode.rst | ||
mtrr.rst | ||
orc-unwinder.rst | ||
pat.rst | ||
pti.rst | ||
resctrl.rst | ||
sgx.rst | ||
shstk.rst | ||
sva.rst | ||
tdx.rst | ||
tlb.rst | ||
topology.rst | ||
tsx_async_abort.rst | ||
usb-legacy-support.rst | ||
xstate.rst | ||
zero-page.rst |