diff options
author | Eli Cohen <[email protected]> | 2023-02-14 09:29:46 +0200 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2023-03-24 16:04:10 -0700 |
commit | 9821d8d4628e630ab56f47a8e6b878a2576e069b (patch) | |
tree | 06cbe34a046e0ec777302047d7b710b724f6f73e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4e0473f1060aa49621d40a113afde24818101d37 (diff) |
lib: cpu_rmap: Use allocator for rmap entries
Use a proper allocator for rmap entries using a naive for loop. The
allocator relies on whether an entry is NULL to be considered free.
Remove the used field of rmap which is not needed.
Also, avoid crashing the kernel if an entry is not available.
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Eli Cohen <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions