Messages in this thread | | | From | Christoph Hellwig <> | Subject | fix dma coherent pool sizing | Date | Wed, 17 Aug 2022 08:06:44 +0200 |
| |
Hi all
Michal pointed out that the sizing of the dma coherent pools is bonkers as it uses the total memory to size the pool for each zone, which leads to comically larger zones for the 16-MB ZONE_DMA on x86, which tends leads to allocation failure warnings. This series switches to sizing the ZONE_DMA and ZONE_DMA32 pools based on the number of pages that actually reside in those zones instead.
Diffstat: pool.c | 65 +++++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 41 insertions(+), 24 deletions(-)
| |