Re: [PATCH] dma-debug: increase HASH_SIZE

From: Eric Dumazet
Date: Tue Dec 10 2019 - 10:04:58 EST


On Tue, Dec 10, 2019 at 6:55 AM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:

> JFTR, this increases dma_entry_hash size by 327680 bytes, and pushes
> a few more boards beyond their bootloader-imposed kernel size limits.
>
> Disabling CONFIG_DMA_API_DEBUG fixes that.
> Of course the real fix is to fix the bootloaders...
>

Hi Geert

Maybe we can make the hash size arch-dependent, or better dynamically
allocate this memory ?