mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
dma-debug: reorder struct dma_debug_entry fields
Move all fields used during exact match lookups to the first cache line. This makes debug_dma_mapping_error() and friends about 50% faster. Since it removes two 32bit holes, force a cacheline alignment on struct dma_debug_entry. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
0f665b9e2a
commit
d3694f3073
1 changed files with 7 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue