mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Track llc_occpuancy of RMIDs in limbo list
@ 2024-02-21  9:20 Haifeng Xu
  2024-02-21  9:21 ` [PATCH v2 1/2] x86/resctrl: Rename pseudo_lock_event.h to trace.h Haifeng Xu
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Haifeng Xu @ 2024-02-21  9:20 UTC (permalink / raw)
  To: reinette.chatre
  Cc: fenghua.yu, babu.moger, peternewman, x86, linux-kernel, Haifeng Xu

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


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

end of thread, other threads:[~2024-03-01 17:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-21  9:20 [PATCH v2 0/2] Track llc_occpuancy of RMIDs in limbo list Haifeng Xu
2024-02-21  9:21 ` [PATCH v2 1/2] x86/resctrl: Rename pseudo_lock_event.h to trace.h Haifeng Xu
2024-02-23 20:00   ` Reinette Chatre
2024-02-29  3:12     ` Haifeng Xu
2024-02-21  9:21 ` [PATCH v2 2/2] x86/resctrl: Add tracepoint for llc_occupancy tracking Haifeng Xu
2024-02-23 19:41   ` Reinette Chatre
2024-02-29  3:16     ` Haifeng Xu
2024-03-01 17:47     ` James Morse
2024-02-23 23:24 ` [PATCH v2 0/2] Track llc_occpuancy of RMIDs in limbo list Reinette Chatre
2024-02-29  3:13   ` Haifeng Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®