summaryrefslogtreecommitdiff
path: root/tools/include/generated/asm/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2026-01-12 15:46:36 +0000
committerMarek Szyprowski <m.szyprowski@samsung.com>2026-01-14 11:00:00 +0100
commitb31ac41b59b6b6f1f6d426e2088e5c391bf89bf3 (patch)
tree062b8ec6ed4d6dbf126600bad597c9458f0df4d6 /tools/include/generated/asm/git@git.tavy.me:linux.git
parent7f2e8e1d22f6e28edff3782535c16cfbace30902 (diff)
dma/pool: Improve pool lookup
If CONFIG_ZONE_DMA32 is enabled, but we have not allocated the corresponding atomic_pool_dma32, dma_guess_pool() may return the NULL value of that and fail a GFP_DMA32 allocation without trying to fall back to other pools which may exist. Furthermore, if no GFP_DMA pool exists, it is preferable to try GFP_DMA32 rather than immediately fall back to GFP_KERNEL with even less chance of success. Improve matters by encoding an explicit order of pool preference for each flag. Signed-off-by: Robin Murphy <robin.murphy@arm.com> Tested-by: Vladimir Kondratiev <vladimir.kondratiev@mobileye.com> Reviewed-by: Baoquan He <bhe@redhat.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Link: https://lore.kernel.org/r/c846b1a2f43295cac926c7af2ce907f62baec518.1768230104.git.robin.murphy@arm.com
Diffstat (limited to 'tools/include/generated/asm/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions