Linus Torvalds torvalds@linux-foundation.org wrote:
From a quick look, what you were doing was checking that the patterns you set up in user space came through ok. Dammit, what's wrong with just using read()/write() on a pipe, or splice, or whatever. It will test exactly the same iov_iter thing.
I was trying to make it possible to do these tests before starting userspace as there's a good chance that if the UBUF/IOVEC iterators don't work right then your system can't be booted.
Anyway, if I drop patches 5, 6, 7 and 10 (ie. the ones doing stuff with UBUF and IOVEC-type iterators), would you be okay with the rest?
David