xref: /linux/fs/resctrl/Kconfig (revision 664a231d90aa450f9f6f029bee3a94dd08e1aac6)
1bff70402SJames Morseconfig RESCTRL_FS
2bff70402SJames Morse	bool "CPU Resource Control Filesystem (resctrl)"
3bff70402SJames Morse	depends on ARCH_HAS_CPU_RESCTRL
4bff70402SJames Morse	select KERNFS
5bff70402SJames Morse	select PROC_CPU_RESCTRL if PROC_FS
6bff70402SJames Morse	help
7bff70402SJames Morse	  Some architectures provide hardware facilities to group tasks and
8bff70402SJames Morse	  monitor and control their usage of memory system resources such as
9bff70402SJames Morse	  caches and memory bandwidth.  Examples of such facilities include
10bff70402SJames Morse	  Intel's Resource Director Technology (Intel(R) RDT) and AMD's
11bff70402SJames Morse	  Platform Quality of Service (AMD QoS).
12bff70402SJames Morse
13bff70402SJames Morse	  If your system has the necessary support and you want to be able to
14bff70402SJames Morse	  assign tasks to groups and manipulate the associated resource
15bff70402SJames Morse	  monitors and controls from userspace, say Y here to get a mountable
16bff70402SJames Morse	  'resctrl' filesystem that lets you do just that.
17bff70402SJames Morse
18bff70402SJames Morse	  If nothing mounts or prods the 'resctrl' filesystem, resource
19bff70402SJames Morse	  controls and monitors are left in a quiescent, permissive state.
20bff70402SJames Morse
21bff70402SJames Morse	  On architectures where this can be disabled independently, it is
22bff70402SJames Morse	  safe to say N.
23bff70402SJames Morse
24*7168ae33SJames Morse	  See <file:Documentation/filesystems/resctrl.rst> for more information.
25bff70402SJames Morse
26bff70402SJames Morseconfig RESCTRL_FS_PSEUDO_LOCK
27bff70402SJames Morse	bool
28bff70402SJames Morse	depends on RESCTRL_FS
29bff70402SJames Morse	help
30bff70402SJames Morse	  Software mechanism to pin data in a cache portion using
31bff70402SJames Morse	  micro-architecture specific knowledge.
32bff70402SJames Morse
33bff70402SJames Morseconfig RESCTRL_RMID_DEPENDS_ON_CLOSID
34bff70402SJames Morse	bool
35bff70402SJames Morse	depends on RESCTRL_FS
36bff70402SJames Morse	help
37bff70402SJames Morse	  Enabled by the architecture when the RMID values depend on the CLOSID.
38bff70402SJames Morse	  This causes the CLOSID allocator to search for CLOSID with clean
39bff70402SJames Morse	  RMID.
40