linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2][v2] Add task resctrl information in procfs
@ 2019-11-15  5:23 Chen Yu
  2019-11-15  5:24 ` [PATCH 1/2][v2] resctrl: Add CPU_RESCTRL Chen Yu
  2019-11-15  5:25 ` [PATCH 2/2][v2] x86/resctrl: Add task resctrl information display Chen Yu
  0 siblings, 2 replies; 8+ messages in thread
From: Chen Yu @ 2019-11-15  5:23 UTC (permalink / raw)
  To: x86
  Cc: Borislav Petkov, H. Peter Anvin, Ingo Molnar, Thomas Gleixner,
	Peter Zijlstra, Will Deacon, Fenghua Yu, Reinette Chatre,
	Tony Luck, Andrew Morton, Alexey Dobriyan, Michal Hocko,
	Kees Cook, Christian Brauner, Shakeel Butt, Casey Schaufler,
	Konstantin Khlebnikov, Kent Overstreet, Linus Torvalds,
	linux-kernel, linux-fsdevel, Chen Yu

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-11-20  7:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-15  5:23 [PATCH 0/2][v2] Add task resctrl information in procfs Chen Yu
2019-11-15  5:24 ` [PATCH 1/2][v2] resctrl: Add CPU_RESCTRL Chen Yu
2019-11-15  8:46   ` Borislav Petkov
2019-11-15  5:25 ` [PATCH 2/2][v2] x86/resctrl: Add task resctrl information display Chen Yu
2019-11-15  9:24   ` Borislav Petkov
2019-11-16 15:01     ` Ryan Chen
2019-11-18 14:48       ` Borislav Petkov
2019-11-20  7:54         ` Yu Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).