This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] [BZ #19137] i386/epoll_pwait.S doesn't support cancellation
- From: Florian Weimer <fweimer at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 15 Oct 2015 15:04:07 +0200
- Subject: Re: [PATCH] [BZ #19137] i386/epoll_pwait.S doesn't support cancellation
- Authentication-results: sourceware.org; auth=none
- References: <20151015121922 dot GA22544 at gmail dot com>
On 10/15/2015 02:19 PM, H.J. Lu wrote:
> Only i386 implements epoll_pwait in assembly code withot cancellation
> support. All other architectures implement epoll_pwait in epoll_pwait.c
> with
>
> int epoll_pwait (int epfd, struct epoll_event *events,
> int maxevents, int timeout,
> const sigset_t *set)
> {
> return SYSCALL_CANCEL (epoll_pwait, epfd, events, maxevents,
> timeout, set, _NSIG / 8);
> }
>
> Although there is no test for epoll_pwait in glibc, since SYSCALL_CANCEL
> works on i386 and epoll_pwait.c works for other architectures, it is
> safe to assume that epoll_pwait.c with SYSCALL_CANCEL also works on
> i386.
>
> Tested on i686. OK for master?
Okay.
Thanks,
Florian