[PATCH v2 0/2] Track llc_occpuancy of RMIDs in limbo list

Haifeng Xu posted 2 patches 1 year, 11 months ago
arch/x86/kernel/cpu/resctrl/monitor.c         |  2 ++
arch/x86/kernel/cpu/resctrl/pseudo_lock.c     |  2 +-
.../resctrl/{pseudo_lock_event.h => trace.h}  | 21 +++++++++++++++----
3 files changed, 20 insertions(+), 5 deletions(-)
rename arch/x86/kernel/cpu/resctrl/{pseudo_lock_event.h => trace.h} (64%)
[PATCH v2 0/2] Track llc_occpuancy of RMIDs in limbo list
Posted by Haifeng Xu 1 year, 11 months ago
After removing a monitor group, its RMID may not be freed immediately
unless its llc_occupancy is less than the re-allocation threshold. If
turning up the threshold, the RMID can be reused. In order to know how
much the threshold should be, it's necessary to acquire the llc_occupancy.

The patch series provides a new tracepoint to track the llc_occupancy.

Changes since v1:
- Rename pseudo_lock_event.h instead of creating a new header file.
- Modify names used in the new tracepoint
- Update changelog

Haifeng Xu (2):
  x86/resctrl: Rename pseudo_lock_event.h to trace.h
  x86/resctrl: Add tracepoint for llc_occupancy tracking

 arch/x86/kernel/cpu/resctrl/monitor.c         |  2 ++
 arch/x86/kernel/cpu/resctrl/pseudo_lock.c     |  2 +-
 .../resctrl/{pseudo_lock_event.h => trace.h}  | 21 +++++++++++++++----
 3 files changed, 20 insertions(+), 5 deletions(-)
 rename arch/x86/kernel/cpu/resctrl/{pseudo_lock_event.h => trace.h} (64%)

-- 
2.25.1
Re: [PATCH v2 0/2] Track llc_occpuancy of RMIDs in limbo list
Posted by Reinette Chatre 1 year, 11 months ago
Hi Haifeng,

Typo in subject:  llc_occpuancy ->  llc_occupancy
Could you also please use the x86/resctrl subject prefix in the cover letter?

Thank you

Reinette
Re: [PATCH v2 0/2] Track llc_occpuancy of RMIDs in limbo list
Posted by Haifeng Xu 1 year, 11 months ago

On 2024/2/24 07:24, Reinette Chatre wrote:
> 
> Hi Haifeng,
> 
> Typo in subject:  llc_occpuancy ->  llc_occupancy
> Could you also please use the x86/resctrl subject prefix in the cover letter?

OK, thanks.

> 
> Thank you
> 
> Reinette