diff options
author | Christoph Hellwig <hch@lst.de> | 2018-01-09 23:40:57 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-01-15 09:35:13 +0100 |
commit | 95f183916d4b0bc1943684948ecdd2469f1aa978 (patch) | |
tree | 4f35e71033398e1ac96e90454a84f1ad2402492e /lib/Kconfig.kasan | |
parent | dma-direct: add support for allocation from ZONE_DMA and ZONE_DMA32 (diff) | |
download | linux-dev-95f183916d4b0bc1943684948ecdd2469f1aa978.tar.xz linux-dev-95f183916d4b0bc1943684948ecdd2469f1aa978.zip |
dma-direct: retry allocations using GFP_DMA for small masks
If an attempt to allocate memory succeeded, but isn't inside the
supported DMA mask, retry the allocation with GFP_DMA set as a
last resort.
Based on the x86 code, but an off by one error in what is now
dma_coherent_ok has been fixed vs the x86 code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib/Kconfig.kasan')
0 files changed, 0 insertions, 0 deletions