aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/dma/coherent.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-10-30 11:48:44 -0700
committerChristoph Hellwig <hch@lst.de>2019-11-11 10:52:18 +0100
commit5e76f564572b85735de4b75a5e73b514be2562be (patch)
tree95c35b5219632553bb218904da8bce60fe222626 /kernel/dma/coherent.c
parentdma-debug: reorder struct dma_debug_entry fields (diff)
downloadlinux-dev-5e76f564572b85735de4b75a5e73b514be2562be.tar.xz
linux-dev-5e76f564572b85735de4b75a5e73b514be2562be.zip
dma-debug: increase HASH_SIZE
With modern NIC, it is not unusual having about ~256,000 active dma mappings and a hash size of 1024 buckets is too small. Forcing full cache line per bucket does not seem useful, especially now that we have contention on free_entries_lock for allocations and freeing of entries. Better use the space to fit more buckets. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/dma/coherent.c')
0 files changed, 0 insertions, 0 deletions