Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1478813 > unrolled thread
| Started by | "Fenghua Yu" <fenghua.yu@intel.com> |
|---|---|
| First post | 2016-09-08 09:00 +0200 |
| Last post | 2016-09-08 17:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v2 23/33] x86/intel_rdt_rdtgroup.c: User interface for RDT "Fenghua Yu" <fenghua.yu@intel.com> - 2016-09-08 09:00 +0200
Re: [PATCH v2 23/33] x86/intel_rdt_rdtgroup.c: User interface for RDT Thomas Gleixner <tglx@linutronix.de> - 2016-09-08 17:10 +0200
| From | "Fenghua Yu" <fenghua.yu@intel.com> |
|---|---|
| Date | 2016-09-08 09:00 +0200 |
| Subject | [PATCH v2 23/33] x86/intel_rdt_rdtgroup.c: User interface for RDT |
| Message-ID | <sf1tv-2mB-3@gated-at.bofh.it> |
From: Fenghua Yu <fenghua.yu@intel.com>
We introduce a new resctrl file system mounted under /sys/fs/resctrl.
User uses this file system to control resource allocation.
Hiearchy of the file system is as follows:
/sys/fs/resctrl/info/info
/<resource0>/<resource0 specific info files>
/<resource1>/<resource1 specific info files>
....
/tasks
/cpus
/schemata
/sub-dir1
/sub-dir2
....
User can specify which task uses which schemata for resource allocation.
More details can be found in Documentation/x86/intel_rdt_ui.txt
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Reviewed-by: Tony Luck <tony.luck@intel.com>
---
arch/x86/include/asm/intel_rdt.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/include/asm/intel_rdt.h b/arch/x86/include/asm/intel_rdt.h
index 85beecc..aaed4b4 100644
--- a/arch/x86/include/asm/intel_rdt.h
+++ b/arch/x86/include/asm/intel_rdt.h
@@ -40,6 +40,8 @@ struct cache_domain {
unsigned int shared_cache_id[MAX_CACHE_DOMAINS];
};
+extern struct cache_domain cache_domains[MAX_CACHE_LEAVES];
+
extern struct rdt_opts rdt_opts;
struct clos_cbm_table {
--
2.5.0
[toc] | [next] | [standalone]
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Date | 2016-09-08 17:10 +0200 |
| Subject | Re: [PATCH v2 23/33] x86/intel_rdt_rdtgroup.c: User interface for RDT |
| Message-ID | <sf97H-7om-19@gated-at.bofh.it> |
| In reply to | #1478813 |
On Thu, 8 Sep 2016, Fenghua Yu wrote:
> From: Fenghua Yu <fenghua.yu@intel.com>
>
> We introduce a new resctrl file system mounted under /sys/fs/resctrl.
> User uses this file system to control resource allocation.
>
> Hiearchy of the file system is as follows:
> /sys/fs/resctrl/info/info
> /<resource0>/<resource0 specific info files>
> /<resource1>/<resource1 specific info files>
> ....
> /tasks
> /cpus
> /schemata
> /sub-dir1
> /sub-dir2
> ....
>
> User can specify which task uses which schemata for resource allocation.
>
> More details can be found in Documentation/x86/intel_rdt_ui.txt
>
> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
> Reviewed-by: Tony Luck <tony.luck@intel.com>
> ---
> arch/x86/include/asm/intel_rdt.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/x86/include/asm/intel_rdt.h b/arch/x86/include/asm/intel_rdt.h
> index 85beecc..aaed4b4 100644
> --- a/arch/x86/include/asm/intel_rdt.h
> +++ b/arch/x86/include/asm/intel_rdt.h
> @@ -40,6 +40,8 @@ struct cache_domain {
> unsigned int shared_cache_id[MAX_CACHE_DOMAINS];
> };
>
> +extern struct cache_domain cache_domains[MAX_CACHE_LEAVES];
> +
This patch split is so annoying it's not even funny anymore.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web