File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 9
9
10
10
Vikas Shivappa <
[email protected] >
11
11
12
- This feature is enabled by the CONFIG_X86_RESCTRL and the x86 /proc/cpuinfo
12
+ This feature is enabled by the CONFIG_X86_CPU_RESCTRL and the x86 /proc/cpuinfo
13
13
flag bits:
14
14
RDT (Resource Director Technology) Allocation - "rdt_a"
15
15
CAT (Cache Allocation Technology) - "cat_l3", "cat_l2"
Original file line number Diff line number Diff line change @@ -446,12 +446,12 @@ config RETPOLINE
446
446
branches. Requires a compiler with -mindirect-branch=thunk-extern
447
447
support for full protection. The kernel may run slower.
448
448
449
- config X86_RESCTRL
450
- bool "Resource Control support"
449
+ config X86_CPU_RESCTRL
450
+ bool "x86 CPU resource control support"
451
451
depends on X86 && (CPU_SUP_INTEL || CPU_SUP_AMD)
452
452
select KERNFS
453
453
help
454
- Enable Resource Control support.
454
+ Enable x86 CPU resource control support.
455
455
456
456
Provide support for the allocation and monitoring of system resources
457
457
usage by the CPU.
Original file line number Diff line number Diff line change 2
2
#ifndef _ASM_X86_RESCTRL_SCHED_H
3
3
#define _ASM_X86_RESCTRL_SCHED_H
4
4
5
- #ifdef CONFIG_X86_RESCTRL
5
+ #ifdef CONFIG_X86_CPU_RESCTRL
6
6
7
7
#include <linux/sched.h>
8
8
#include <linux/jump_label.h>
@@ -88,6 +88,6 @@ static inline void resctrl_sched_in(void)
88
88
89
89
static inline void resctrl_sched_in (void ) {}
90
90
91
- #endif /* CONFIG_X86_RESCTRL */
91
+ #endif /* CONFIG_X86_CPU_RESCTRL */
92
92
93
93
#endif /* _ASM_X86_RESCTRL_SCHED_H */
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ obj-$(CONFIG_CPU_SUP_UMC_32) += umc.o
39
39
obj-$(CONFIG_X86_MCE) += mce/
40
40
obj-$(CONFIG_MTRR) += mtrr/
41
41
obj-$(CONFIG_MICROCODE) += microcode/
42
- obj-$(CONFIG_X86_RESCTRL ) += resctrl/
42
+ obj-$(CONFIG_X86_CPU_RESCTRL ) += resctrl/
43
43
44
44
obj-$(CONFIG_X86_LOCAL_APIC) += perfctr-watchdog.o
45
45
Original file line number Diff line number Diff line change 1
1
# SPDX-License-Identifier: GPL-2.0
2
- obj-$(CONFIG_X86_RESCTRL ) += core.o rdtgroup.o monitor.o
3
- obj-$(CONFIG_X86_RESCTRL ) += ctrlmondata.o pseudo_lock.o
2
+ obj-$(CONFIG_X86_CPU_RESCTRL ) += core.o rdtgroup.o monitor.o
3
+ obj-$(CONFIG_X86_CPU_RESCTRL ) += ctrlmondata.o pseudo_lock.o
4
4
CFLAGS_pseudo_lock.o = -I$(src )
Original file line number Diff line number Diff line change @@ -995,7 +995,7 @@ struct task_struct {
995
995
/* cg_list protected by css_set_lock and tsk->alloc_lock: */
996
996
struct list_head cg_list ;
997
997
#endif
998
- #ifdef CONFIG_X86_RESCTRL
998
+ #ifdef CONFIG_X86_CPU_RESCTRL
999
999
u32 closid ;
1000
1000
u32 rmid ;
1001
1001
#endif
You can’t perform that action at this time.
0 commit comments