]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86,fs/resctrl: Consolidate monitoring related data from rdt_resource
authorBabu Moger <babu.moger@amd.com>
Fri, 5 Sep 2025 21:34:06 +0000 (16:34 -0500)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 15 Sep 2025 10:07:01 +0000 (12:07 +0200)
commit5ad68c8f965fed78c61f2ac7aea933f06bb50032
treea09b7e6385d6c371ea8e527977174681c0039d5c
parentbebf57bf054b561a62f3440142b2eddab2b0bbff
x86,fs/resctrl: Consolidate monitoring related data from rdt_resource

The cache allocation and memory bandwidth allocation feature properties are
consolidated into struct resctrl_cache and struct resctrl_membw respectively.

In preparation for more monitoring properties that will clobber the existing
resource struct more, re-organize the monitoring specific properties to also
be in a separate structure.

Also convert "bandwidth sources" terminology to "memory transactions" to have
consistency within resctrl for related monitoring features.

  [ bp: Massage commit message. ]

Suggested-by: Reinette Chatre <reinette.chatre@intel.com>
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://lore.kernel.org/cover.1757108044.git.babu.moger@amd.com
arch/x86/kernel/cpu/resctrl/core.c
arch/x86/kernel/cpu/resctrl/monitor.c
fs/resctrl/rdtgroup.c
include/linux/resctrl.h