From owner-freebsd-current Fri Jan 10 15:31:19 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E0CF37B408; Fri, 10 Jan 2003 15:31:17 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4545243F1E; Fri, 10 Jan 2003 15:31:17 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 1F3302A8A0; Fri, 10 Jan 2003 15:31:17 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Terry Lambert Cc: "Daniel C. Sobral" , Tim Robbins , Juli Mallett , current@FreeBSD.ORG Subject: Re: Serious issues with kqueue on sockets on CURRENT. In-Reply-To: <3E1F20B4.8456F855@mindspring.com> Date: Fri, 10 Jan 2003 15:31:17 -0800 From: Peter Wemm Message-Id: <20030110233117.1F3302A8A0@canning.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Terry Lambert wrote: > "Daniel C. Sobral" wrote: > > > I can definitely reproduce this here and also fairly angry about it. > > > In addition to what you mentioned, fstat() gives an incorrect st_size > > > result now and it's likely that non-NOTE_LOWAT low watermarks are > > > firing too early as well. > > > > > > Ugly test program @ http://people.freebsd.org/~tjr/kq.c > > > > If I ensure the write only happens after the child is waiting on kq, the > > bug does not show up for me. > > > So that's the kqueue bug, right? That an event is not generated > for pending input at the time that the event is registered? Folks, *PLEASE WATCH THE CC: LIST*! re@ does not need to be cc'ed on the speculation. They've been made aware of the issue, and if a conclusion is reached then they need to know that too. But overflowing re@ with email is not a good way to get the release polished off. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message