diff options
| author | 2026-09-03 09:29:13 +0800 | |
|---|---|---|
| committer | 2026-09-07 18:55:12 +0200 | |
| commit | 641a9b9cc697eb6ea375a25aafc6884d1b485612 (patch) | |
| tree | 48c6690c9f52d1bb22443991d3399c4f67a2acbd /scripts/Makefile.thinlto | |
| parent | dma-mapping: rename dma_opt_mapping_size() (diff) | |
dma-mapping: use exact allocation for DMA pages
DMA page allocation fallbacks use alloc_pages_node() with get_order(size),
wasting the unused tail for non-power-of-two requests.
Use alloc_pages_exact_nid() and free_pages_exact() so that a buddy
fallback retains only requested pages.
Signed-off-by: Qingfang Deng <qingfang.deng@linux.dev>
Link: https://lore.kernel.org/r/20260903012914.312305-1-qingfang.deng@linux.dev
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
