diff options
author | Tony Luck <tony.luck@intel.com> | 2024-06-10 03:39:27 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2024-06-10 09:50:12 +0300 |
commit | f385f024639431bec3e70c33cdbc9563894b3ee5 (patch) | |
tree | 45f19c3681f07e6db6a13574a122e0638d5f9b2e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 685cb1674060c2cb1b9da051a12933c082b8e874 (diff) | |
download | linux-f385f024639431bec3e70c33cdbc9563894b3ee5.tar.xz |
x86/resctrl: Replace open coded cacheinfo searches
pseudo_lock_region_init() and rdtgroup_cbm_to_size() open code a search for
details of a particular cache level.
Replace with get_cpu_cacheinfo_level().
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Link: https://lore.kernel.org/r/20240610003927.341707-5-tony.luck@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions