This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Cleanup sync_file_range implementation
- From: "Paul E. Murphy" <murphyp at linux dot vnet dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Cc: Tulio Magno Quites Machado Filho <tuliom at linux dot vnet dot ibm dot com>
- Date: Thu, 22 Oct 2015 08:40:28 -0500
- Subject: Re: [PATCH] Cleanup sync_file_range implementation
- Authentication-results: sourceware.org; auth=none
- References: <1445451155-23390-1-git-send-email-adhemerval dot zanella at linaro dot com>
LGTM.
On 10/21/2015 01:12 PM, Adhemerval Zanella wrote:
> Since GLIBC requires a minimum 2.6.32 kernel, the patch cleanups
> the mips code to assume __NR_sync_file_range and the powerpc one
> to either assume __NR_sync_file_range2 or __NR_sync_file_range.
>
> Checked on powerpc64le and build for mips (ABIO32, ABIN32, and ABI64).
>
> * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
> (__NR_sync_file_range2): Assume it is always defined.
> * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
> (__NR_sync_file_range): Assume it is always defined.