aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/caching/netfs-api.rst
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-11-09 14:47:56 +0000
committerChristoph Hellwig <[email protected]>2021-12-07 11:50:06 +0000
commit955f58f7406ad912825fc344c7825fd904b124a0 (patch)
treea23e035d3fd7886c708f7bb0937990e0d30267bd /Documentation/filesystems/caching/netfs-api.rst
parentdma-direct: refactor the !coherent checks in dma_direct_alloc (diff)
downloadkernel-955f58f7406ad912825fc344c7825fd904b124a0.tar.gz
kernel-955f58f7406ad912825fc344c7825fd904b124a0.zip
dma-direct: fail allocations that can't be made coherent
If the architecture can't remap or set an address uncached there is no way to fullfill a request for a coherent allocation. Return NULL in that case. Note that this case currently does not happen, so this is a theoretical fixup and/or a preparation for eventually supporting platforms that can't support coherent allocations with the generic code. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Robin Murphy <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/netfs-api.rst')
0 files changed, 0 insertions, 0 deletions