From owner-freebsd-threads@FreeBSD.ORG Fri Sep 22 18:25:16 2006 Return-Path: X-Original-To: freebsd-threads@freebsd.org Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 322B616A4D8; Fri, 22 Sep 2006 18:25:16 +0000 (UTC) (envelope-from john@baldwin.cx) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 303A743D68; Fri, 22 Sep 2006 18:24:59 +0000 (GMT) (envelope-from john@baldwin.cx) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k8MIOuGk015171; Fri, 22 Sep 2006 14:24:56 -0400 (EDT) (envelope-from john@baldwin.cx) From: John Baldwin To: freebsd-threads@freebsd.org, John-Mark Gurney Date: Fri, 22 Sep 2006 14:25:02 -0400 User-Agent: KMail/1.9.1 References: <200609202105.k8KL5fh7081141@freefall.freebsd.org> <200609212152.31366.john@baldwin.cx> <20060922023748.GR23915@funkthat.com> In-Reply-To: <20060922023748.GR23915@funkthat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609221425.02723.john@baldwin.cx> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 22 Sep 2006 14:24:57 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/1927/Fri Sep 22 06:06:31 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: anders@freebsd.org Subject: Re: kern/103127: Kernel panic while using thread features in Squid 2.6 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2006 18:25:16 -0000 On Thursday 21 September 2006 22:37, John-Mark Gurney wrote: > John Baldwin wrote this message on Thu, Sep 21, 2006 at 21:52 -0400: > > On Wednesday 20 September 2006 17:05, John-Mark Gurney wrote: > > > Synopsis: Kernel panic while using thread features in Squid 2.6 > > > > > > State-Changed-From-To: open->feedback > > > State-Changed-By: jmg > > > State-Changed-When: Wed Sep 20 21:04:55 UTC 2006 > > > State-Changed-Why: > > > waiting for people to test the patch of badfo_kqfilter that is attached > > > to the bug.. > > > > Should it possibly return EBADF rather than EINVAL? > > If we got this far, we have to have a valid fd, maybe ENXIO? badfo_* are used for bad (invalid) file descriptors. :) All the other badfo_* functions return EBADF (except for poll, since it returns an event mask rather than an errno). -- John Baldwin