David Laight David.Laight@ACULAB.COM wrote:
I was thinking of import_iovec() - or whatever its current name is.
That doesn't actually access the buffer described by the iovec[].
That really needs a single structure that contains the iov_iter and the cache[] (which the caller pretty much always allocates in the same place).
cache[]?
Fiddling with that is ok until you find what io_uring does. Then it all gets entirely horrid.
That statement sounds like back-of-the-OLS-T-shirt material ;-)
David