From owner-freebsd-net Wed Oct 18 16: 3:39 2000 Delivered-To: freebsd-net@freebsd.org Received: from field.videotron.net (field.videotron.net [205.151.222.108]) by hub.freebsd.org (Postfix) with ESMTP id DFBDA37B4CF for ; Wed, 18 Oct 2000 16:03:32 -0700 (PDT) Received: from modemcable213.3-201-24.mtl.mc.videotron.ca ([24.201.3.213]) by field.videotron.net (Sun Internet Mail Server sims.3.5.1999.12.14.10.29.p8) with ESMTP id <0G2N0076HEPSGW@field.videotron.net> for net@freebsd.org; Wed, 18 Oct 2000 19:03:28 -0400 (EDT) Date: Wed, 18 Oct 2000 19:07:44 -0400 (EDT) From: Bosko Milekic Subject: Re: how to detect recent mbuf changes In-reply-to: <20001016161133.V272@fw.wintelcom.net> X-Sender: bmilekic@jehovah.technokratis.com To: Alfred Perlstein Cc: net@freebsd.org Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 16 Oct 2000, Alfred Perlstein wrote: > Have we bumbed FreeBSD version or do we have some other way to detect > the recent change in the way mbuf clusters are counted? > > -- > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] > "I have the heart of a child; I keep it in a jar on my desk." To answer your question: Yes, I notice that it has been bumped in the meantime in -CURRENT after the SMP stuff has gone in. You should be checking __FreeBSD_version for 500013 or greater (the ref-counting and other similar changes -- all but the mutex stuff) has been committed before that version. You'll note that the ref counting code was not MFCd, so you're in luck. Have fun, Bosko Milekic bmilekic@technokratis.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message