Re: [PATCH 2/7] Define new syscalls readv2,preadv2,writev2,pwritev2
From: Christoph Hellwig
Date: Tue Sep 16 2014 - 17:04:09 EST
On Tue, Sep 16, 2014 at 03:20:32PM -0400, Jeff Moyer wrote:
> Milosz Tanski <milosz@xxxxxxxxx> writes:
>
> > New syscalls with an extra flag argument. For now all flags except for 0 are
> > not supported.
>
> The blatant copy-n-paste of the vectored functions bothers me. I'll
> withold judgement until I've seen your next version of the patch series,
> though.
We could actually implement the non-flags ones based on the flagged ones
at the syscall level, similar to how recv is implemented on top of
recvfrom.
--
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/