Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 1996 14:46:59 -0600 (CST)
From:      Mark Tinguely <tinguely@plains.nodak.edu>
To:        julian@whistle.com, wollman@lcs.mit.edu
Cc:        freebsd-current@freebsd.org
Subject:   Re: -current mbuf reference function
Message-ID:  <199611122046.OAA21010@plains.nodak.edu>

next in thread | raw e-mail | index | archive | help
insert red face on CLFREE. Things are bad when I can't even read a macro if
statement. thanks, I knew this was for the reference count to the data object.
I know I need to keep track of my reference count differently because my data
is not allocated close to the mbuf data, and the mclrefcnt array won't help me.

I am still planning on adding a complete PERM mbuf extension where the mbuf
and data are kept together. The free routine will accept a pointer to the
mbuf as well as pointers to the data that could get referenced and linked
to other mbufs when pages are copied.

I would feel better if the m_copypacket function in kern/uipc_mbuf.c
would also use the external reference function.

--mark.



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