From owner-freebsd-net@FreeBSD.ORG Sat Oct 2 15:29:33 2010 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B1AB1065672; Sat, 2 Oct 2010 15:29:33 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 67B9A8FC12; Sat, 2 Oct 2010 15:29:33 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id D4BDA46B49; Sat, 2 Oct 2010 11:29:32 -0400 (EDT) Date: Sat, 2 Oct 2010 16:29:32 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Julian Elischer In-Reply-To: <4CA51024.8020307@freebsd.org> Message-ID: References: <4C9DA26D.7000309@freebsd.org> <4CA51024.8020307@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Ryan Stone , FreeBSD Net Subject: Re: mbuf changes X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2010 15:29:33 -0000 On Thu, 30 Sep 2010, Julian Elischer wrote: > On 9/30/10 10:49 AM, Ryan Stone wrote: >> It's not a big thing but it would be nice to replace the m_next and >> m_nextpkt fields with queue.h macros. >> > funny, I've never even thought of that.. I have, and it's a massive change touching code all over the kernel in vast quantities. While in principle it's a good idea (consistently avoid hand-crafted linked lists), it's something I'd discourage on the basis that it probably won't significant reduce the kernel bug count, but will make it even harder for vendors with large local changes to the network stack to keep up. (We might consider revisiting the proposal for 10.0, perhaps? I'd rather we burnt the cycles on fleshing out network stack virtualization more thoroughly for 9.x though.) Robert