This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix p{readv,writev}{64} consolidation implementation
- From: Andreas Schwab <schwab at suse dot de>
- To: Chris Metcalf <cmetcalf at mellanox dot com>
- Cc: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, <libc-alpha at sourceware dot org>, Mike Frysinger <vapier at gentoo dot org>
- Date: Thu, 16 Jun 2016 17:52:42 +0200
- Subject: Re: [PATCH] Fix p{readv,writev}{64} consolidation implementation
- Authentication-results: sourceware.org; auth=none
- References: <1465941275-3459-1-git-send-email-adhemerval dot zanella at linaro dot org> <20160615053714 dot GM4053 at vapier dot lan> <57615BFB dot 2050101 at linaro dot org> <e9d7c072-9fd7-e4ab-5b65-6974a7597c77 at mellanox dot com> <5761B7ED dot 6040102 at linaro dot org> <fc3b9249-9fa8-ed16-980a-af69a65dacf9 at mellanox dot com>
Chris Metcalf <cmetcalf@mellanox.com> writes:
>> 2. __LONG_LONG_PAIR is not correct for big-endian.
>
> Yes, this needs to be fixed on the kernel side for consistency. Many other
> syscalls pass their arguments with __LONG_LONG_PAIR.
__LONG_LONG_PAIR is only for the cases where the kernel uses a single
loff_t argument.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."