Re: [RFC] situation with csum_and_copy_... API

From: Linus Torvalds
Date: Fri Nov 21 2014 - 14:40:55 EST


On Fri, Nov 21, 2014 at 11:39 AM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>
> I'm not at all sure that _anything_ has valid reasons for draining iovecs.
> Maintaining a struct iov_iter and modifying it is easy and actually faster...

For new code, I agree. But the whole "draining iovec's" is a fairly
common old model.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/