Re: [PATCH v2] Add preadv and pwritev system calls.

From: Gerd Hoffmann
Date: Fri Dec 12 2008 - 15:39:36 EST


Russell King wrote:
> On Fri, Dec 12, 2008 at 08:56:00PM +0100, Gerd Hoffmann wrote:
>> Russell King wrote:
>>>> should be similar to pread/pwrite, e.g:
>>>>
>>>> int preadv(fd, iovec, iovec_size, offset)
>>> Yes, and that's easy for glibc to achieve.
>> This hints the ABI problem exists at syscall level only. Is that
>> correct? So we can have
>>
>> preadv(fd, vec, vlen, off)
>>
>> argument ordering at app <-> glibc level and
>>
>> preadv(fd, vec, off, vlen)
>>
>> ordering at glibc <-> kernel (aka syscall) level and it works fine for
>> ARM + MIPS + PARISC?
>
> Fine for ARM

Great. I'll happily switch the ordering then. /me goes wait for acks
from the other archs and plans for a new patch revision early next week.

thanks,
Gerd


--
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/