Re: [PATCH] pepoll_wait ...

From: Davide Libenzi
Date: Wed Jan 18 2006 - 02:39:03 EST


On Tue, 17 Jan 2006, Andrew Morton wrote:

Ulrich Drepper <drepper@xxxxxxxxxx> wrote:

Davide Libenzi wrote:
The attached patch implements the pepoll_wait system call, that extend
the event wait mechanism with the same logic ppoll and pselect do. The
definition of pepoll_wait is: [...]

I definitely ACK this patch, it's needed for the same reasons we need
pselect and ppoll.


It busts most architectures.

fs/eventpoll.c: In function `sys_pepoll_wait':
fs/eventpoll.c:727: error: `TIF_RESTORE_SIGMASK' undeclared (first use in this function)

It seems that the preferred way to fix this is to sprinkle #ifdef
TIF_RESTORE_SIGMASK all over the code.

Hey, I've written in the comments that it depends on the TIF_RESTORE_SIGMASK bits ;) The latest one that dwmw posted used such feature, so I though to align epoll bits to that too.



- Davide


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