diff options
author | Shannon Nelson <[email protected]> | 2024-03-06 15:29:50 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-03-08 11:54:34 +0000 |
commit | 65e548f6b0ffc4222a99feda8a033a2a9fb9f3e7 (patch) | |
tree | 64d64b48e377494e254c8cddcc5b0664c8e96dc9 /lib/raid6/algos.c | |
parent | ae24a8f88b3fc8ef463e8dffd41ebba48c81cfd4 (diff) |
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 <[email protected]>
Reviewed-by: Brett Creeley <[email protected]>
Signed-off-by: Shannon Nelson <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/raid6/algos.c')
0 files changed, 0 insertions, 0 deletions