public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/3] selftests/resctrl: Add dynamic linked list management for IMC counters
@ 2026-03-24 12:50 Yifan Wu
  2026-03-24 12:50 ` [PATCH 1/3] selftests/resctrl: Introduced " Yifan Wu
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Yifan Wu @ 2026-03-24 12:50 UTC (permalink / raw)
  To: tony.luck, reinette.chatre, Dave.Martin, james.morse, babu.moger,
	shuah, tan.shaopeng, fenghuay, ben.horgan, jonathan.cameron,
	zengheng4, wuyifan50, linux-kernel, linux-arm-kernel,
	linux-kselftest, linuxarm
  Cc: xiaqinxin, prime.zeng, wangyushan12, xuwei5, fanghao11, wangzhou1

Hi all,

This patch series adds dynamic linked list management for the IMC
counters, which can work based on the actual number of counters instead of
an upper limit, without the need for array out-of-bounds access check.

This patch series is based on the Reinette's patch series aimed at fixing
the resctrl test and can be found at:
https://lore.kernel.org/lkml/cover.1773432891.git.reinette.chatre@intel.com/

Yifan Wu (3):
  selftests/resctrl: Introduced linked list management for IMC counters
  selftests/resctrl: Replace array-based IMC counter management with
    linked lists
  selftests/resctrl: Add cleanup for MBM/MBA test

 tools/testing/selftests/resctrl/mba_test.c    |   1 +
 tools/testing/selftests/resctrl/mbm_test.c    |   1 +
 tools/testing/selftests/resctrl/resctrl.h     |   2 +
 tools/testing/selftests/resctrl/resctrl_val.c | 159 ++++++++++--------
 4 files changed, 95 insertions(+), 68 deletions(-)

-- 
2.33.0



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

end of thread, other threads:[~2026-04-02 17:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-24 12:50 [PATCH 0/3] selftests/resctrl: Add dynamic linked list management for IMC counters Yifan Wu
2026-03-24 12:50 ` [PATCH 1/3] selftests/resctrl: Introduced " Yifan Wu
2026-04-02 17:42   ` Reinette Chatre
2026-03-24 12:50 ` [PATCH 2/3] selftests/resctrl: Replace array-based IMC counter management with linked lists Yifan Wu
2026-04-02 17:44   ` Reinette Chatre
2026-03-24 12:50 ` [PATCH 3/3] selftests/resctrl: Add cleanup for MBM/MBA test Yifan Wu

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