Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760895AbXFRAUc (ORCPT ); Sun, 17 Jun 2007 20:20:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754943AbXFRAUY (ORCPT ); Sun, 17 Jun 2007 20:20:24 -0400 Received: from x35.xmailserver.org ([64.71.152.41]:1764 "EHLO x35.xmailserver.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753557AbXFRAUY (ORCPT ); Sun, 17 Jun 2007 20:20:24 -0400 X-AuthUser: davidel@xmailserver.org Date: Sun, 17 Jun 2007 17:20:21 -0700 (PDT) From: Davide Libenzi X-X-Sender: davide@alien.or.mcafeemobile.com To: Nicholas Miell cc: Linus Torvalds , Linux Kernel Mailing List , Oleg Nesterov , Benjamin Herrenschmidt Subject: Re: And now for something _totally_ different: Linux v2.6.22-rc5 In-Reply-To: <1182125303.3794.8.camel@entropy> Message-ID: References: <1182064500.2798.6.camel@entropy> <1182108399.3794.4.camel@entropy> <1182125303.3794.8.camel@entropy> 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 Content-Length: 806 Lines: 24 On Sun, 17 Jun 2007, Nicholas Miell wrote: > Ah, ok, that's great. > > I didn't see anything like that in linux.git, missed Ben's patch to the > list, and mixed up your description with the original TIF_SIGPENDING > work. They will still race on the signal queue though. That is, if you create a signalfd and three threads are doing a read(2) over it, if a signal is sent to the thread group (tsk->signal->shared_pending), only one will fetch the signal. I think that's the correct behaviour anyway. Andrew or Linus, did you get Ben's patch? - Davide - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/