Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2000 23:50:02 -0700 (PDT)
From:      Alfred Perlstein <bright@wintelcom.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/19866: The mbuf subsystem presently uses a horrible referencing scheme for external
Message-ID:  <200007150650.XAA99383@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/19866; it has been noted by GNATS.

From: Alfred Perlstein <bright@wintelcom.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc: bmilekic@technokratis.com
Subject: Re: kern/19866: The mbuf subsystem presently uses a horrible referencing scheme for external
Date: Fri, 14 Jul 2000 23:44:33 -0700

 This is not how it should be done.
 
 Instead of keeping them in a linked list there should be an int/char *
 in the mbuf header that works the same way mclrefcnt does.  Instead
 of managing a linked list all one has to do is copy the pointer into
 the new mbuf header and increment it, and decrease it on free, when
 it's zero the deref code is called.
 
 -- 
 -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007150650.XAA99383>