[PATCH 0/2][v2] Add task resctrl information in procfs
From: Chen Yu
Date: Fri Nov 15 2019 - 00:13:04 EST
Expose the resctrl information in /proc/{pid}/resctrl
so that the user space tool is able to locate the resctrl
directory path in O(1) rather than O(n) - n is the number
of tasks in the system.
Chen Yu (2):
resctrl: Add CPU_RESCTRL
x86/resctrl: Add task resctrl information display
arch/Kconfig | 4 +++
arch/x86/Kconfig | 1 +
arch/x86/kernel/cpu/resctrl/rdtgroup.c | 47 ++++++++++++++++++++++++++
fs/proc/base.c | 7 ++++
include/linux/resctrl.h | 16 +++++++++
5 files changed, 75 insertions(+)
create mode 100644 include/linux/resctrl.h
--
2.17.1