From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933865AbXEHGab (ORCPT ); Tue, 8 May 2007 02:30:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932659AbXEHGa1 (ORCPT ); Tue, 8 May 2007 02:30:27 -0400 Received: from x35.xmailserver.org ([64.71.152.41]:1786 "EHLO x35.xmailserver.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755319AbXEHGaU (ORCPT ); Tue, 8 May 2007 02:30:20 -0400 X-AuthUser: davidel@xmailserver.org Date: Mon, 7 May 2007 23:30:19 -0700 (PDT) From: Davide Libenzi X-X-Sender: davide@alien.or.mcafeemobile.com To: Ulrich Drepper cc: Davi Arnaut , Andrew Morton , Linus Torvalds , Linux Kernel Mailing List Subject: Re: [PATCH] rfc: threaded epoll_wait thundering herd In-Reply-To: Message-ID: References: <20070504225730.490334000@haxent.com.br> <463BC3CA.6050109@haxent.com.br> <463CFA37.3020809@haxent.com.br> <463F9B68.305@haxent.com.br> X-GPG-FINGRPRINT: CFAE 5BEE FD36 F65E E640 56FE 0974 BF23 270F 474E X-GPG-PUBLIC_KEY: http://www.xmailserver.org/davidel.asc MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 7 May 2007, Ulrich Drepper wrote: > On 5/7/07, Davide Libenzi wrote: > > read(2) is a cancellation point too. So if the fine userspace code issues > > a random pthread_cancel() to a thread handling that, data is lost together > > with the session that thread was handling. > > This is absolutely not comparable. When read/write is canceled no > data is lost. Some other thread might have to pick up the slack but > that's it. Ohh, is it different? Please, it is not even worth to show you how exactly the same is. Because you are perfectly aware of it. > We went over this for kevent discussions. I really am not willing to > do it all again especially since there is no hope to achieve a > satisfying result with poll. So, don't count my silence as agreement, > it isn't. You're climbing mirrors AFAICS, more that bringing any valid points. And as far as I'm concerned, this thread is becoming very repetitive and boring. - Davide