From: Chen Yu <yu.c.chen@intel.com>
To: x86@kernel.org
Cc: Borislav Petkov <bp@alien8.de>, "H. Peter Anvin" <hpa@zytor.com>,
Ingo Molnar <mingo@redhat.com>,
Thomas Gleixner <tglx@linutronix.de>,
Peter Zijlstra <peterz@infradead.org>,
Will Deacon <will@kernel.org>, Fenghua Yu <fenghua.yu@intel.com>,
Reinette Chatre <reinette.chatre@intel.com>,
Tony Luck <tony.luck@intel.com>,
Andrew Morton <akpm@linux-foundation.org>,
Alexey Dobriyan <adobriyan@gmail.com>,
Michal Hocko <mhocko@suse.com>, Kees Cook <keescook@chromium.org>,
Christian Brauner <christian@brauner.io>,
Shakeel Butt <shakeelb@google.com>,
Casey Schaufler <casey@schaufler-ca.com>,
Konstantin Khlebnikov <khlebnikov@yandex-team.ru>,
Kent Overstreet <kent.overstreet@gmail.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
Chen Yu <yu.c.chen@intel.com>
Subject: [PATCH 0/2][v2] Add task resctrl information in procfs
Date: Fri, 15 Nov 2019 13:23:40 +0800 [thread overview]
Message-ID: <cover.1573788882.git.yu.c.chen@intel.com> (raw)
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
next reply other threads:[~2019-11-15 5:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-15 5:23 Chen Yu [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1573788882.git.yu.c.chen@intel.com \
--to=yu.c.chen@intel.com \
--cc=adobriyan@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=bp@alien8.de \
--cc=casey@schaufler-ca.com \
--cc=christian@brauner.io \
--cc=fenghua.yu@intel.com \
--cc=hpa@zytor.com \
--cc=keescook@chromium.org \
--cc=kent.overstreet@gmail.com \
--cc=khlebnikov@yandex-team.ru \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhocko@suse.com \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=reinette.chatre@intel.com \
--cc=shakeelb@google.com \
--cc=tglx@linutronix.de \
--cc=tony.luck@intel.com \
--cc=torvalds@linux-foundation.org \
--cc=will@kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.