linux-stable/Documentation/arch/x86
Babu Moger fe2a20ea0b x86/resctrl: Add multiple tasks to the resctrl group at once
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
2023-10-17 11:27:50 +02:00
..
i386
x86_64
amd-memory-encryption.rst
amd_hsmp.rst
boot.rst Documentation work keeps chugging along; stuff for 6.6 includes: 2023-08-30 20:05:42 -07:00
booting-dt.rst
buslock.rst Documentation: Fix typos 2023-08-18 11:29:03 -06:00
cpuinfo.rst
earlyprintk.rst
elf_auxvec.rst
entry_64.rst
exception-tables.rst
features.rst
ifs.rst
index.rst Documentation/x86: Add CET shadow stack description 2023-08-02 15:01:50 -07:00
intel-hfi.rst
intel_txt.rst
iommu.rst
kernel-stacks.rst
mds.rst Documentation: Fix typos 2023-08-18 11:29:03 -06:00
microcode.rst
mtrr.rst
orc-unwinder.rst
pat.rst
pti.rst
resctrl.rst x86/resctrl: Add multiple tasks to the resctrl group at once 2023-10-17 11:27:50 +02:00
sgx.rst Documentation: Fix typos 2023-08-18 11:29:03 -06:00
shstk.rst x86/shstk: Add ARCH_SHSTK_STATUS 2023-08-02 15:01:51 -07:00
sva.rst
tdx.rst
tlb.rst
topology.rst
tsx_async_abort.rst
usb-legacy-support.rst
xstate.rst
zero-page.rst