This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/3] Consolidate Linux poll implementation
- From: Siddhesh Poyarekar <siddhesh at gotplt dot org>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, libc-alpha at sourceware dot org
- Date: Wed, 3 May 2017 09:07:52 +0530
- Subject: Re: [PATCH 1/3] Consolidate Linux poll implementation
- Authentication-results: sourceware.org; auth=none
- References: <1492710968-7699-1-git-send-email-adhemerval.zanella@linaro.org>
On Thursday 20 April 2017 11:26 PM, Adhemerval Zanella wrote:
> This patch consolidates the poll Linux syscall implementation on
> sysdeps/unix/sysv/linux/poll.c. It basically removes poll from
> auto-generation list and add a default implementation that either
> call __NR_poll directly (if the kernel headers defines it) or
> ppoll adjusting the timeout argument (as the generic implementation).
>
> Checked on i686-linux-gnu, x86_64-linux-gnu, x86_64-linux-gnux32,
> aarch64-linux-gnu, arm-linux-gnueabihf, and powerpc64le-linux-gnu.
>
> * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
> * sysdeps/unix/sysv/linux/poll.c: New file.
> * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
> auto-generation list.
OK.
Siddhesh