Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 1999 17:02:28 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Bosko Milekic <bmilekic@dsuper.net>
Cc:        David Greenman <dg@root.com>, remy@synx.com, julian@whistle.com, freebsd-hackers@FreeBSD.ORG
Subject:   Re: mbuf wait code (revisited) -- review? 
Message-ID:  <199911190102.RAA88661@apollo.backplane.com>
References:   <Pine.OSF.4.05.9911181359420.157-100000@oracle.dsuper.net>

next in thread | previous in thread | raw e-mail | index | archive | help
:	I'm not sure if you have read the [original] patch that I had posted
:about a week ago. Both the mbuf-wait and mbuf-cluster-wait routines (as well
:as their "wakeup" routines) are just that, separate routines. The sleep
:routines are called through the MGET, MGETHDR, and MCLALLOC macros, 
:depending of course whether the sleep is for an mbuf or mbuf cluster.
:	The place where wakeup() was originally called was also a routine
:that I defined in kern/uipc_mbuf.c and that was invoked through the macros
:that freed an mbuf or an mbuf chain (along with the mbuf clusters).
:	The plan is to fiddle with those _new_ routines.

    Sounds like a reasonable plan.  I wonder if we should consider getting
    rid of the mbuf macros entirely and simply proceduralizing them.  Then
    everything could be collected together into a single file.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>


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




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