Re: semantics of dma_map_single()

From: Christoph Hellwig
Date: Mon Jul 17 2017 - 02:42:27 EST


I would expect that it would support any contiguous range in
the kernel mapping (e.g. no vmalloc and friends). But it's not
documented anywhere, and if no in kernel users makes use of that
fact at the moment it might be better to document a page size
limitation and add asserts to enforce it.