]> Gentwo Git Trees - linux/.git/commit
fs/resctrl: Introduce interface to modify io_alloc capacity bitmasks
authorBabu Moger <babu.moger@amd.com>
Thu, 13 Nov 2025 00:57:35 +0000 (18:57 -0600)
committerBorislav Petkov (AMD) <bp@alien8.de>
Sat, 22 Nov 2025 13:28:31 +0000 (14:28 +0100)
commit28fa2cce7a8388f09e457f1e24241ca6d5e985d8
tree5606e726e9b7af020c64fc6f4620745507c22317
parentaf1242eeca50b20076d1bc9a41653005634a8a4f
fs/resctrl: Introduce interface to modify io_alloc capacity bitmasks

The io_alloc feature in resctrl enables system software to configure the
portion of the cache allocated for I/O traffic. When supported, the
io_alloc_cbm file in resctrl provides access to capacity bitmasks (CBMs)
allocated for I/O devices.

Enable users to modify io_alloc CBMs by writing to the io_alloc_cbm resctrl
file when the io_alloc feature is enabled.

Mirror the CBMs between CDP_CODE and CDP_DATA when CDP is enabled to present
consistent I/O allocation information to user space.

Signed-off-by: Babu Moger <babu.moger@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Link: https://patch.msgid.link/67609641b03ccfba18a8ee0bf9dbd1f3dcbecda3.1762995456.git.babu.moger@amd.com
Documentation/filesystems/resctrl.rst
fs/resctrl/ctrlmondata.c
fs/resctrl/internal.h
fs/resctrl/rdtgroup.c