• Eric Dumazet's avatar
    dma-debug: increase HASH_SIZE · 5e76f564
    Eric Dumazet authored
    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: default avatarEric Dumazet <edumazet@google.com>
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    5e76f564
debug.c 43.2 KB