summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-wlock.h
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@amd.com>2024-03-07 00:29:50 +0100
committerDavid S. Miller <davem@davemloft.net>2024-03-08 12:54:34 +0100
commit65e548f6b0ffc4222a99feda8a033a2a9fb9f3e7 (patch)
tree64d64b48e377494e254c8cddcc5b0664c8e96dc9 /lib/locking-selftest-wlock.h
parentionic: remove callback pointer from desc_info (diff)
downloadlinux-65e548f6b0ffc4222a99feda8a033a2a9fb9f3e7.tar.xz
linux-65e548f6b0ffc4222a99feda8a033a2a9fb9f3e7.zip
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 'lib/locking-selftest-wlock.h')
0 files changed, 0 insertions, 0 deletions