aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndy Chiu <[email protected]>2024-01-15 05:59:28 +0000
committerPalmer Dabbelt <[email protected]>2024-01-16 07:14:01 -0800
commitbd446f5df5afab212917f6732ba6442a5e8de85e (patch)
treedce6c1b77b3260997ded34e7e30afc9a16c3d24b /tools/perf/scripts/python/export-to-postgresql.py
parent5b6048f2ff710196c85ce14373febe8be5115bbe (diff)
riscv: vector: use kmem_cache to manage vector context
The allocation size of thread.vstate.datap is always riscv_v_vsize. So it is possbile to use kmem_cache_* to manage the allocation. This gives users more information regarding allocation of vector context via /proc/slabinfo. And it potentially reduces the latency of the first-use trap because of the allocation caches. Signed-off-by: Andy Chiu <[email protected]> Tested-by: Björn Töpel <[email protected]> Tested-by: Lad Prabhakar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions