Pull x86 resource control updates from Ingo Molnar: "The main change in this tree is the extension of the resctrl procfs ABI with a new file that helps tooling to navigate from tasks back to resctrl groups: /proc/{pid}/cpu_resctrl_groups. Also fix static key usage for certain feature combinations and simplify the task exit resctrl case" * 'x86-cache-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/resctrl: Add task resctrl information display x86/resctrl: Check monitoring static key in the MBM overflow handler x86/resctrl: Do not reconfigure exiting tasks
Showing the changes to include/linux (1 of 7 files). Show all
Unified · Split
| @@ -0,0 +1,14 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ | |
| 2 | +#ifndef _RESCTRL_H | |
| 3 | +#define _RESCTRL_H | |
| 4 | + | |
| 5 | +#ifdef CONFIG_PROC_CPU_RESCTRL | |
| 6 | + | |
| 7 | +int proc_resctrl_show(struct seq_file *m, | |
| 8 | + struct pid_namespace *ns, | |
| 9 | + struct pid *pid, | |
| 10 | + struct task_struct *tsk); | |
| 11 | + | |
| 12 | +#endif | |
| 13 | + | |
| 14 | +#endif /* _RESCTRL_H */ | |