[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <463FB327.4070906@haxent.com.br>
Date: Mon, 07 May 2007 20:15:51 -0300
From: Davi Arnaut <davi@...ent.com.br>
To: Ulrich Drepper <drepper@...il.com>
Cc: Davide Libenzi <davidel@...ilserver.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] rfc: threaded epoll_wait thundering herd
Ulrich Drepper wrote:
> On 5/7/07, Davi Arnaut <davi@...ent.com.br> wrote:
>> See Linus's message on this same thread.
>
> No. I'm talking about the userlevel side, not kernel side.
So you probably knew the answer before asking the question.
> 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.
Exactly. The same happens with sigwaitinfo(), and various other.
> Linus was only talking about the kernel side and how in the exit path
> such events are not lost.
Anyway, we could extend epoll to be mmapable...
--
Davi Arnaut
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists