Messages in this thread | | | Date | Wed, 8 Jun 2022 10:27:59 -0700 | Subject | Re: [PATCH v3 1/4] dma-mapping: Add dma_opt_mapping_size() | From | Bart Van Assche <> |
| |
On 6/6/22 02:30, John Garry wrote: > +:: > + > + size_t > + dma_opt_mapping_size(struct device *dev); > + > +Returns the maximum optimal size of a mapping for the device. Mapping large > +buffers may take longer so device drivers are advised to limit total DMA > +streaming mappings length to the returned value.
"Maximum optimal" sounds weird to me. Is there a single optimal value or are there multiple optimal values? In the former case I think that the word "maximum" should be left out.
Thanks,
Bart.
| |