Hi Thomas,
On 2/19/2018 1:19 PM, Thomas Gleixner wrote:
> On Tue, 13 Feb 2018, Reinette Chatre wrote:
>
>> After a pseudo-locked region is locked it needs to be associated with
>> the RDT domain representing the pseudo-locked cache so that its life
>> cycle can be manag
Hi Thomas,
On 2/19/2018 1:19 PM, Thomas Gleixner wrote:
> On Tue, 13 Feb 2018, Reinette Chatre wrote:
>
>> After a pseudo-locked region is locked it needs to be associated with
>> the RDT domain representing the pseudo-locked cache so that its life
>> cycle can be manag
Hi Thomas,
On 2/19/2018 2:19 PM, Thomas Gleixner wrote:
>> It is required that the user space application self sets affinity to
>> cores associated with the cache. This is also highlighted in the example
>> application code (later in this patch) within the comments as well as
>> the example usage
Hi Thomas,
On 2/19/2018 2:19 PM, Thomas Gleixner wrote:
>> It is required that the user space application self sets affinity to
>> cores associated with the cache. This is also highlighted in the example
>> application code (later in this patch) within the comments as well as
>> the example usage
Hi Randy,
On 2/19/2018 1:27 PM, Randy Dunlap wrote:
> On 02/13/18 07:46, Reinette Chatre wrote:
>> Add description of Cache Pseudo-Locking feature, its interface,
>> as well as an example of its usage.
>>
>> Signed-off-by: Reinette Chatre <reinette.cha...@intel.com
Hi Randy,
On 2/19/2018 1:27 PM, Randy Dunlap wrote:
> On 02/13/18 07:46, Reinette Chatre wrote:
>> Add description of Cache Pseudo-Locking feature, its interface,
>> as well as an example of its usage.
>>
>> Signed-off-by: Reinette Chatre
>> ---
>> D
Hi Thomas,
On 2/19/2018 12:35 PM, Thomas Gleixner wrote:
> On Tue, 13 Feb 2018, Reinette Chatre wrote:
>> +Cache Pseudo-Locking
>> +
>> +CAT enables a user to specify the amount of cache space into which an
>> +application can fill. Cache pseudo
Hi Thomas,
On 2/19/2018 12:35 PM, Thomas Gleixner wrote:
> On Tue, 13 Feb 2018, Reinette Chatre wrote:
>> +Cache Pseudo-Locking
>> +
>> +CAT enables a user to specify the amount of cache space into which an
>> +application can fill. Cache pseudo
On 2/14/2018 10:31 AM, Reinette Chatre wrote:
> On 2/14/2018 10:12 AM, Mike Kravetz wrote:
>> On 02/13/2018 07:46 AM, Reinette Chatre wrote:
>>> Adding MM maintainers to v2 to share the new MM change (patch 21/22) that
>>> enables large contiguous regions that was cre
On 2/14/2018 10:31 AM, Reinette Chatre wrote:
> On 2/14/2018 10:12 AM, Mike Kravetz wrote:
>> On 02/13/2018 07:46 AM, Reinette Chatre wrote:
>>> Adding MM maintainers to v2 to share the new MM change (patch 21/22) that
>>> enables large contiguous regions that was cre
posed
alloc_gigantic_page() to handle these allocations in my testing. I now
moved to using find_alloc_contig_pages() as introduced here and all my
tests passed. I do hope that an API supporting large contiguous regions
become available.
Thank you very much for creating this.
Tested-by: Reinette Chatre <reinette.cha...@intel.com>
Reinette
posed
alloc_gigantic_page() to handle these allocations in my testing. I now
moved to using find_alloc_contig_pages() as introduced here and all my
tests passed. I do hope that an API supporting large contiguous regions
become available.
Thank you very much for creating this.
Tested-by: Reinette Chatre
Reinette
Hi Mike,
On 2/14/2018 10:12 AM, Mike Kravetz wrote:
> On 02/13/2018 07:46 AM, Reinette Chatre wrote:
>> Adding MM maintainers to v2 to share the new MM change (patch 21/22) that
>> enables large contiguous regions that was created to support large Cache
>> Pseudo-Locked
Hi Mike,
On 2/14/2018 10:12 AM, Mike Kravetz wrote:
> On 02/13/2018 07:46 AM, Reinette Chatre wrote:
>> Adding MM maintainers to v2 to share the new MM change (patch 21/22) that
>> enables large contiguous regions that was created to support large Cache
>> Pseudo-Locked
In preparation for support of pseudo-locking we move some static
functions to be available for sharing amongst all RDT components.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt.h | 5 +
arch/x86/kernel/cpu/intel_rdt_ctrlmondata
In preparation for support of pseudo-locking we move some static
functions to be available for sharing amongst all RDT components.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt.h | 5 +
arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c | 2 +-
arch/x86/kernel/cpu
the CBMs to know if its values are meaningful or
can be ignored.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt.h | 1 +
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 6 ++
2 files changed, 7 insertions(+)
diff --git a/arch/x86/kern
the CBMs to know if its values are meaningful or
can be ignored.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt.h | 1 +
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 6 ++
2 files changed, 7 insertions(+)
diff --git a/arch/x86/kernel/cpu/intel_rdt.h b/arch/x86
We create a new file to host pseudo-locking specific code. The first of
this code are the functions that create the initial pseudo_lock
directory with its first file, "avail", starting by reporting zero. This
will be expanded in future commits.
Signed-off-by: Reinette Chatre <
We create a new file to host pseudo-locking specific code. The first of
this code are the functions that create the initial pseudo_lock
directory with its first file, "avail", starting by reporting zero. This
will be expanded in future commits.
Signed-off-by: Reinette Chatre
---
arch/
Add description of Cache Pseudo-Locking feature, its interface,
as well as an example of its usage.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
Documentation/x86/intel_rdt_ui.txt | 229 -
1 file changed, 228 insertions(+), 1 de
on
of pseudo-locking availability.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 62 -
1 file changed, 61 insertions(+), 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/intel_rdt_pseudo_loc
Add description of Cache Pseudo-Locking feature, its interface,
as well as an example of its usage.
Signed-off-by: Reinette Chatre
---
Documentation/x86/intel_rdt_ui.txt | 229 -
1 file changed, 228 insertions(+), 1 deletion(-)
diff --git a/Documentation/x86
on
of pseudo-locking availability.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 62 -
1 file changed, 61 insertions(+), 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c
b/arch/x86/kernel/cpu/intel_rdt_pseudo_lock.
hes
from this series were applied on the x86/cache branch of tip.git at the
time the HEAD was:
commit 87943db7dfb0c5ee5aa74a9ac06346fadd9695c8 (tip/x86/cache)
Author: Reinette Chatre <reinette.cha...@intel.com>
Date: Fri Oct 20 02:16:59 2017 -0700
x86/intel_rdt: Fix potential deadlock duri
695c8 (tip/x86/cache)
Author: Reinette Chatre
Date: Fri Oct 20 02:16:59 2017 -0700
x86/intel_rdt: Fix potential deadlock during resctrl mount
DISCLAIMER: Tests document performance of components on a particular test,
in specific systems. Differences in hardware, software, or configuratio
pseudo-locking on a platform that does support
RDT/CAT this should not be seen as a failure of CAT, the pseudo-locking
interface will just not be set up.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 80 ++
pseudo-locking on a platform that does support
RDT/CAT this should not be seen as a failure of CAT, the pseudo-locking
interface will just not be set up.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 80 +
1 file changed, 80
locked all resources will be listed as uninitialized.
size:
Print the size in bytes of the memory region pseudo-locked to
the cache. Value is not yet initialized.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt.h | 5 +++
locked all resources will be listed as uninitialized.
size:
Print the size in bytes of the memory region pseudo-locked to
the cache. Value is not yet initialized.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt.h | 5 +++
arch/x86/kernel/cpu
As a dependent of RDT/CAT we hook up the pseudo-locking files
initialization to that of RDT/CAT. The initial operations of mkdir/rmdir
used to create pseudo-locked regions are now hooked up also.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kern
As a dependent of RDT/CAT we hook up the pseudo-locking files
initialization to that of RDT/CAT. The initial operations of mkdir/rmdir
used to create pseudo-locked regions are now hooked up also.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 17
better.
Disable pseudo-locking if CDP is enabled. Add the details of things to
keep in mind for anybody considering enabling this support.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 30 +
1 file c
better.
Disable pseudo-locking if CDP is enabled. Add the details of things to
keep in mind for anybody considering enabling this support.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 30 +
1 file changed, 30 insertions(+)
diff --git
from each RDT
domain.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt.h | 4
1 file changed, 4 insertions(+)
diff --git a/arch/x86/kernel/cpu/intel_rdt.h b/arch/x86/kernel/cpu/intel_rdt.h
index 060a0976ac00..f0e020686e99 100644
--- a/ar
from each RDT
domain.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt.h | 4
1 file changed, 4 insertions(+)
diff --git a/arch/x86/kernel/cpu/intel_rdt.h b/arch/x86/kernel/cpu/intel_rdt.h
index 060a0976ac00..f0e020686e99 100644
--- a/arch/x86/kernel/cpu/intel_rdt.h
+++ b
s in order to support pseudo-locked
regions larger than 4MB.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 89 ++---
1 file changed, 68 insertions(+), 21 deletions(-)
diff --git a/arch/x86/kernel/cpu/intel_rdt_
-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c
b/arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c
index 4a11aea3ad2c..4f823d631345
s in order to support pseudo-locked
regions larger than 4MB.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 89 ++---
1 file changed, 68 insertions(+), 21 deletions(-)
diff --git a/arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c
b/arch/x86/
-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c
b/arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c
index 4a11aea3ad2c..4f823d631345 100644
--- a/arch/x86/kernel/cpu
Introduce a new test that can be used to determine if a provided CBM
intersects with an existing pseudo-locked region of cache domain.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt.h | 1 +
arch/x86/kernel/cpu/intel_rdt_pseudo_
Introduce a new test that can be used to determine if a provided CBM
intersects with an existing pseudo-locked region of cache domain.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt.h | 1 +
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 19 +++
2
of kernel
memory.
As part of the pseudo-locking the pseudo-locked region is moved to
the RDT domain to which it belongs. We thus also need to ensure that
cleanups happen in this area when there is a directory removal or
unmount request.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.
of kernel
memory.
As part of the pseudo-locking the pseudo-locked region is moved to
the RDT domain to which it belongs. We thus also need to ensure that
cleanups happen in this area when there is a directory removal or
unmount request.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu
ed-off-by: Reinette Chatre <reinette.cha...@intel.com>
Cc: linux...@kvack.org
Cc: Andrew Morton <a...@linux-foundation.org>
Cc: Mike Kravetz <mike.krav...@oracle.com>
Cc: Michal Hocko <mho...@suse.com>
Cc: Vlastimil Babka <vba...@suse.cz>
---
include/linux/hugetlb.h |
the kernel
through the gigantic page support. The creation of which is currently
directed from userspace.
Expose the gigantic page support within the kernel to enable memory
allocations that cannot be fulfilled by the SLAB allocators.
Suggested-by: Dave Hansen
Signed-off-by: Reinette Chatre
Cc
Broadwell microarchitecture supports pseudo-locking. Add support for
the L3 cache related performance events of these systems so that we can
measure the success of pseudo-locking.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt_pseudo_
Broadwell microarchitecture supports pseudo-locking. Add support for
the L3 cache related performance events of these systems so that we can
measure the success of pseudo-locking.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 56
creation so that cores associated with the
pseudo-locked region are prevented from entering deeper C-states.
This is accomplished by requesting a CPU latency target which will
prevent the core from entering C6 across all supported platforms.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.
creation so that cores associated with the
pseudo-locked region are prevented from entering deeper C-states.
This is accomplished by requesting a CPU latency target which will
prevent the core from entering C6 across all supported platforms.
Signed-off-by: Reinette Chatre
---
Documentation/x86
address space.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 267 +++-
1 file changed, 265 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c
b/arch/x86/kern
address space.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 267 +++-
1 file changed, 265 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c
b/arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c
index
and MEM_LOAD_UOPS_RETIRED.L2_MISS, while
accessing pseudo-locked data. A new tracepoint, pseudo_lock_l2, is
created to make these results visible to the user.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 146 --
arch/x86/
and MEM_LOAD_UOPS_RETIRED.L2_MISS, while
accessing pseudo-locked data. A new tracepoint, pseudo_lock_l2, is
created to make these results visible to the user.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 146 --
arch/x86/kernel/cpu
buffer as well as the value itself.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt.h | 1 +
arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c | 34 -
2 files changed, 25 insertions(+), 10 deletions(-)
diff --git
buffer as well as the value itself.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt.h | 1 +
arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c | 34 -
2 files changed, 25 insertions(+), 10 deletions(-)
diff --git a/arch/x86/kernel/cpu/intel_rdt.h
ys=latency' > /sys/kernel/debug/tracing/events/pseudo_lock/\
pseudo_lock_mem_latency/trigger
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/Kconfig | 11 ++
arch/x86/kernel/cpu/Makefile
ys=latency' > /sys/kernel/debug/tracing/events/pseudo_lock/\
pseudo_lock_mem_latency/trigger
Signed-off-by: Reinette Chatre
---
arch/x86/Kconfig | 11 ++
arch/x86/kernel/cpu/Makefile | 1 +
arch/x
udo-locked region at a time.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt.h | 3 +
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 220 +++-
2 files changed, 222 insertions(+), 1 deletion(-)
diff --git a/arc
udo-locked region at a time.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt.h | 3 +
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 220 +++-
2 files changed, 222 insertions(+), 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/intel_rdt.h b/arch/
Hi Thomas,
On 1/16/2018 3:38 AM, Thomas Gleixner wrote:
> On Mon, 15 Jan 2018, Hindman, Gavin wrote:
>>> From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel-
>>> ow...@vger.kernel.org] On Behalf Of Thomas Gleixner
>>> On Fri, 17 Nov 2017, Reinette Chatre w
Hi Thomas,
On 1/16/2018 3:38 AM, Thomas Gleixner wrote:
> On Mon, 15 Jan 2018, Hindman, Gavin wrote:
>>> From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel-
>>> ow...@vger.kernel.org] On Behalf Of Thomas Gleixner
>>> On Fri, 17 Nov 2017, Reinette Chatre w
Hi Thomas,
On 1/16/2018 3:38 AM, Thomas Gleixner wrote:
> On Mon, 15 Jan 2018, Hindman, Gavin wrote:
>>> From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel-
>>> ow...@vger.kernel.org] On Behalf Of Thomas Gleixner
>>> On Fri, 17 Nov 2017, Reinette Cha
Hi Thomas,
On 1/16/2018 3:38 AM, Thomas Gleixner wrote:
> On Mon, 15 Jan 2018, Hindman, Gavin wrote:
>>> From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel-
>>> ow...@vger.kernel.org] On Behalf Of Thomas Gleixner
>>> On Fri, 17 Nov 2017, Reinette Cha
Hi Thomas,
On 11/17/2017 4:48 PM, Thomas Gleixner wrote:
> On Mon, 13 Nov 2017, Reinette Chatre wrote:
>
> thanks for that interesting work. Before I start looking into the details
> in the next days let me ask a few general questions first.
Thank you very much for taking a look. I
Hi Thomas,
On 11/17/2017 4:48 PM, Thomas Gleixner wrote:
> On Mon, 13 Nov 2017, Reinette Chatre wrote:
>
> thanks for that interesting work. Before I start looking into the details
> in the next days let me ask a few general questions first.
Thank you very much for taking a look. I
better.
Disable pseudo-locking if CDP is enabled. Add the details of things to
keep in mind for anybody considering enabling this support.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 28
1 file chang
better.
Disable pseudo-locking if CDP is enabled. Add the details of things to
keep in mind for anybody considering enabling this support.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 28
1 file changed, 28 insertions(+)
diff --git
pseudo-locking on a platform that does support
RDT/CAT this should not be seen as a failure of CAT, the pseudo-locking
interface will just not be set up.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 80 ++
pseudo-locking on a platform that does support
RDT/CAT this should not be seen as a failure of CAT, the pseudo-locking
interface will just not be set up.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 80 +
1 file changed, 80
locked all resources will be listed as uninitialized.
size:
Print the size in bytes of the memory region pseudo-locked to
the cache. Value is not yet initialized.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt.h | 5 +++
locked all resources will be listed as uninitialized.
size:
Print the size in bytes of the memory region pseudo-locked to
the cache. Value is not yet initialized.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt.h | 5 +++
arch/x86/kernel/cpu
from each RDT
domain.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt.h | 4
1 file changed, 4 insertions(+)
diff --git a/arch/x86/kernel/cpu/intel_rdt.h b/arch/x86/kernel/cpu/intel_rdt.h
index 3216488f72df..120a25fdf1e8 100644
--- a/ar
from each RDT
domain.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt.h | 4
1 file changed, 4 insertions(+)
diff --git a/arch/x86/kernel/cpu/intel_rdt.h b/arch/x86/kernel/cpu/intel_rdt.h
index 3216488f72df..120a25fdf1e8 100644
--- a/arch/x86/kernel/cpu/intel_rdt.h
+++ b
creation so that cores associated with the
pseudo-locked region are prevented from entering deeper C-states.
This is accomplished by requesting a CPU latency target which will
prevent the core from entering C6 across all supported platforms.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.
creation so that cores associated with the
pseudo-locked region are prevented from entering deeper C-states.
This is accomplished by requesting a CPU latency target which will
prevent the core from entering C6 across all supported platforms.
Signed-off-by: Reinette Chatre
---
This patch depends
and MEM_LOAD_UOPS_RETIRED.L2_MISS, while
accessing pseudo-locked data. Two new tracepoints, pseudo_lock_l2_hits
and pseudo_lock_l2_miss, are created to make these results visible to
the user.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c
Broadwell microarchitecture supports pseudo-locking. Add support for
the L3 cache related performance events of these systems so that we can
measure the success of pseudo-locking.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt_pseudo_
and MEM_LOAD_UOPS_RETIRED.L2_MISS, while
accessing pseudo-locked data. Two new tracepoints, pseudo_lock_l2_hits
and pseudo_lock_l2_miss, are created to make these results visible to
the user.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 141 --
arch/x86
Broadwell microarchitecture supports pseudo-locking. Add support for
the L3 cache related performance events of these systems so that we can
measure the success of pseudo-locking.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 57
the CBMs to know if its values are meaningful or
can be ignored.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt.h | 1 +
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 6 ++
2 files changed, 7 insertions(+)
diff --git a/arch/x86/kern
on
of pseudo-locking availability.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 62 -
1 file changed, 61 insertions(+), 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/intel_rdt_pseudo_loc
the CBMs to know if its values are meaningful or
can be ignored.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt.h | 1 +
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 6 ++
2 files changed, 7 insertions(+)
diff --git a/arch/x86/kernel/cpu/intel_rdt.h b/arch/x86
on
of pseudo-locking availability.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 62 -
1 file changed, 61 insertions(+), 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c
b/arch/x86/kernel/cpu/intel_rdt_pseudo_lock.
udo-locked region at a time.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt.h | 3 +
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 220 +++-
2 files changed, 222 insertions(+), 1 deletion(-)
diff --git a/arc
udo-locked region at a time.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt.h | 3 +
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 220 +++-
2 files changed, 222 insertions(+), 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/intel_rdt.h b/arch/
In preparation for support of pseudo-locking we move some static
functions to be available for sharing amongst all RDT components.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt.h | 5 +
arch/x86/kernel/cpu/intel_rdt_ctrlmondata
In preparation for support of pseudo-locking we move some static
functions to be available for sharing amongst all RDT components.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt.h | 5 +
arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c | 2 +-
arch/x86/kernel/cpu
Introduce a new test that can be used to determine if a provided CBM
intersects with an existing pseudo-locked region of cache domain.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt.h | 1 +
arch/x86/kernel/cpu/intel_rdt_pseudo_
Introduce a new test that can be used to determine if a provided CBM
intersects with an existing pseudo-locked region of cache domain.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt.h | 1 +
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 19 +++
2
of kernel
memory.
As part of the pseudo-locking the pseudo-locked region is moved to
the RDT domain to which it belongs. We thus also need to ensure that
cleanups happen in this area when there is a directory removal or
unmount request.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.
of kernel
memory.
As part of the pseudo-locking the pseudo-locked region is moved to
the RDT domain to which it belongs. We thus also need to ensure that
cleanups happen in this area when there is a directory removal or
unmount request.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu
address space.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 267 +++-
1 file changed, 265 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c
b/arch/x86/kern
address space.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 267 +++-
1 file changed, 265 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c
b/arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c
index
buffer as well as the value itself.
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt.h | 1 +
arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c | 34 -
2 files changed, 25 insertions(+), 10 deletions(-)
diff --git
buffer as well as the value itself.
Signed-off-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt.h | 1 +
arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c | 34 -
2 files changed, 25 insertions(+), 10 deletions(-)
diff --git a/arch/x86/kernel/cpu/intel_rdt.h
ys=latency' > /sys/kernel/debug/tracing/events/pseudo_lock/\
pseudo_lock_mem_latency/trigger
Signed-off-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/Kconfig | 11 ++
arch/x86/kernel/cpu/Makefile
ys=latency' > /sys/kernel/debug/tracing/events/pseudo_lock/\
pseudo_lock_mem_latency/trigger
Signed-off-by: Reinette Chatre
---
arch/x86/Kconfig | 11 ++
arch/x86/kernel/cpu/Makefile | 1 +
arch/x
-by: Reinette Chatre <reinette.cha...@intel.com>
---
arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c
b/arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c
index 50d3743ed79e..fb3ecc864b2a
-by: Reinette Chatre
---
arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c
b/arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c
index 50d3743ed79e..fb3ecc864b2a 100644
--- a/arch/x86/kernel/cpu
1001 - 1100 of 1130 matches
Mail list logo