summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@amd.com>2024-03-07 02:29:50 +0300
committerDavid S. Miller <davem@davemloft.net>2024-03-08 14:54:34 +0300
commit65e548f6b0ffc4222a99feda8a033a2a9fb9f3e7 (patch)
tree64d64b48e377494e254c8cddcc5b0664c8e96dc9 /tools/perf/scripts/python/export-to-postgresql.py
parentae24a8f88b3fc8ef463e8dffd41ebba48c81cfd4 (diff)
downloadlinux-65e548f6b0ffc4222a99feda8a033a2a9fb9f3e7.tar.xz
ionic: remove the cq_info to save more memory
With a little simple math we don't need another struct array to find the completion structs, so we can remove the ionic_cq_info altogether. This doesn't really save anything in the ionic_cq since it gets padded out to the cacheline, but it does remove the parallel array allocation of 8 * num_descriptors, or about 8 Kbytes per queue in a default configuration. Suggested-by: Neel Patel <npatel2@amd.com> Reviewed-by: Brett Creeley <brett.creeley@amd.com> Signed-off-by: Shannon Nelson <shannon.nelson@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions