diff options
author | Christoph Hellwig <hch@lst.de> | 2019-08-20 05:45:49 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-08-21 01:14:10 +0300 |
commit | 90ae409f9eb3bcaf38688f9ec22375816053a08e (patch) | |
tree | 9ab3713cac2e657fc87fa8108a9dfa2b67f4d439 /drivers/thermal | |
parent | 936376f88ff1845b384b3a82b9cd167e53039229 (diff) | |
download | linux-90ae409f9eb3bcaf38688f9ec22375816053a08e.tar.xz |
dma-direct: fix zone selection after an unaddressable CMA allocation
The new dma_alloc_contiguous hides if we allocate CMA or regular
pages, and thus fails to retry a ZONE_NORMAL allocation if the CMA
allocation succeeds but isn't addressable. That means we either fail
outright or dip into a small zone that might not succeed either.
Thanks to Hillf Danton for debugging this issue.
Fixes: b1d2dc009dec ("dma-contiguous: add dma_{alloc,free}_contiguous() helpers")
Reported-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Diffstat (limited to 'drivers/thermal')
0 files changed, 0 insertions, 0 deletions