Re: [PATCH] rfc: threaded epoll_wait thundering herd

From: Ulrich Drepper
Date: Mon May 07 2007 - 18:19:32 EST


On 5/7/07, Davi Arnaut <davi@xxxxxxxxxxxxx> wrote:
See Linus's message on this same thread.

No. I'm talking about the userlevel side, not kernel side.

If a thread is canceled *after* it returns from the syscall but before
it reports the event to the call (i.e., while still in the syscall
wrapper, thread cancellation rules require a check there) the event is
lost.

Linus was only talking about the kernel side and how in the exit path
such events are not lost.
-
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/