diff options
author | Peter Collingbourne <pcc@google.com> | 2020-04-23 18:31:31 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-04-25 13:17:06 +0200 |
commit | 298f3db6ee690259927b105d5ad1079563361323 (patch) | |
tree | a742aa95a39eea282beca343600b9076ee3cf6c2 /kernel/dma | |
parent | dma-pool: scale the default DMA coherent pool size with memory capacity (diff) | |
download | linux-298f3db6ee690259927b105d5ad1079563361323.tar.xz linux-298f3db6ee690259927b105d5ad1079563361323.zip |
dma-contiguous: fix comment for dma_release_from_contiguous
Commit 90ae409f9eb3 ("dma-direct: fix zone selection
after an unaddressable CMA allocation") changed the logic in
dma_release_from_contiguous to remove the normal pages fallback path,
but did not update the comment. Fix that.
Signed-off-by: Peter Collingbourne <pcc@google.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/dma')
-rw-r--r-- | kernel/dma/contiguous.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/dma/contiguous.c b/kernel/dma/contiguous.c index 8bc6f2d670f9..15bc5026c485 100644 --- a/kernel/dma/contiguous.c +++ b/kernel/dma/contiguous.c @@ -222,8 +222,8 @@ bool dma_release_from_contiguous(struct device *dev, struct page *pages, * @gfp: Allocation flags. * * This function allocates contiguous memory buffer for specified device. It - * first tries to use device specific contiguous memory area if available or - * the default global one, then tries a fallback allocation of normal pages. + * tries to use device specific contiguous memory area if available, or the + * default global one. * * Note that it byapss one-page size of allocations from the global area as * the addresses within one page are always contiguous, so there is no need |