From owner-freebsd-current Fri Jan 10 10:51:23 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 88BA337B401; Fri, 10 Jan 2003 10:51:22 -0800 (PST) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EAF143F18; Fri, 10 Jan 2003 10:51:22 -0800 (PST) (envelope-from sam@errno.com) Received: from melange ([66.127.85.90]) (authenticated bits=0) by ebb.errno.com (8.12.5/8.12.1) with ESMTP id h0AIpLnN002818 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 10 Jan 2003 10:51:21 -0800 (PST)?g (envelope-from sam@errno.com)œ X-Authentication-Warning: ebb.errno.com: Host [66.127.85.90] claimed to be melange Message-ID: <009701c2b8d9$44a010f0$5a557f42@errno.com> From: "Sam Leffler" To: "Nate Lawson" Cc: , References: Subject: Re: Serious issues with kqueue on sockets on CURRENT. Date: Fri, 10 Jan 2003 10:51:21 -0800 Organization: Errno Consulting MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 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 > On Fri, 10 Jan 2003, Sam Leffler wrote: > > unless the mbufs are specifically tagged as such. I'm not clear on exactly > > what sb_ctl is supposed to count; the comment in the cvs log is unclear: > > > > "Track the number of non-data chararacters stored in socket buffers so that > > the data value returned by kevent()'s EVFILT_READ filter on non-TCP > > sockets accurately reflects the amount of data that can be read from the > > sockets by applications." > > > > What are "non-data characters"? > > A very zen question. :) In this case, It probably means bytes carried in > an mbuf with a type other than MT_DATA. The point was that it's not clear to me that you can infer this data from the inverse set of (MT_DATA +whatever). Garrett suggested MT_SONAME data as an example of non-data characters. I no longer know exactly what the complete set of mbuf types is that comprise "non-data characters". Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message