From owner-freebsd-net@FreeBSD.ORG Tue Apr 7 23:01:51 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29D131065672 for ; Tue, 7 Apr 2009 23:01:51 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: from web63908.mail.re1.yahoo.com (web63908.mail.re1.yahoo.com [69.147.97.123]) by mx1.freebsd.org (Postfix) with SMTP id CAE7C8FC1F for ; Tue, 7 Apr 2009 23:01:50 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: (qmail 65348 invoked by uid 60001); 7 Apr 2009 23:01:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1239145310; bh=TNCarjbeDz92XOg0Nbmnx6LOTPn3fJ52QCo8dUdaz4w=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=Po/Zp4CUF5juQI8QykxyR9OjTT9Ka8FKm5nNiBUXfbU7y2QClAqUpT/SdM9ehGEutCiH+oX/7Np8n+pOVXRHaOpyNJ7PlMAAKCBNVXXkvI58Gwy4tbr8CJvL85e1D6mVujVZBWbLNZfaWsaG9P3VsvtzHTtxpn6aj+A0iFnsLNs= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=3N26WW+pmOnaAqQY+k4br6aE9NWIgQwt1j84xAUdCBRhnSYkop2+XjykqvodxYV1gR64xg/FVONU26r3peGupH3guMkn1UmhG+xO9jAvx9BAT+UkKOjVWX+n8zr0252A182n+8SU1B+rrQZRByUMMXI2cPAEziefAltnmzJz7RI=; Message-ID: <362116.58661.qm@web63908.mail.re1.yahoo.com> X-YMail-OSG: F2tI4QYVM1kRFnhVrO7qDwGFdOk7D5rkg8Ta7EykM0Z64Svz0.QTFM5UwSWfOObe7iukHkFLKisdsxpFkHyuMG63dKsRapz5p7LLoecphkyM.i9SxY0qFr9nbiRYeHAhe3RS8iBbzyc_.RonzfOFWiyzO4FVsePY1HiTy7x.Lx14fzpMTPRMAbNYxznVde7ZUtJYNikZ0udym0h7ceto_.atWWhsTTnTTqm0yFI82IvPIfoY3DvHGR2e3PLS4b53H_T8h8kvmUkJo.fkcaQRM8Ltlrk_lVilPKtuMdYeAsA6DH66tIGv6DvqcPnz Received: from [98.242.222.229] by web63908.mail.re1.yahoo.com via HTTP; Tue, 07 Apr 2009 16:01:50 PDT X-Mailer: YahooMailWebService/0.7.289.1 Date: Tue, 7 Apr 2009 16:01:50 -0700 (PDT) From: Barney Cordoba To: Robert Watson In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-net@freebsd.org, Ivan Voras Subject: Re: Advice on a multithreaded netisr patch? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: barney_cordoba@yahoo.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2009 23:01:51 -0000 --- On Tue, 4/7/09, Robert Watson wrote: > From: Robert Watson > Subject: Re: Advice on a multithreaded netisr patch? > To: "Barney Cordoba" > Cc: freebsd-net@freebsd.org, "Ivan Voras" > Date: Tuesday, April 7, 2009, 6:52 PM > On Tue, 7 Apr 2009, Barney Cordoba wrote: > > >>> When I enabled LOCK_PROFILING my side modules, > such as > >> if_ibg, stopped working. It seems that the ifnet > structure or something changed with that option enabled. Is > there a way to sync this without having to integrate > everything into a specific kernel build? > >> > >> LOCK_PROFILING changes the size of lock-related > data structures, so requires both kernel and full set of > modules to be rebuilt with the option. > > > > It might be good to mention this in the man page. Most > 3rd party drivers build stand-alone, and even if you pull > down the latest drivers from intel or broadcom they're > usually built out of the kernel build. Its pretty > frustrating to have random things failing, mbuf leaks, etc > without any warning. > > From the man page: > > NOTES > The LOCK_PROFILING option increases the size of struct > lock_object, so a > kernel built with that option will not work with > modules built without > it Nevermind. Obviously I just plain missed it. BC