Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2003 20:47:35 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 34815 for review
Message-ID:  <200307220347.h6M3lZea038684@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=34815

Change 34815 by peter@peter_hammer on 2003/07/21 20:47:23

	mb_alloc and mb_free are way too big to inline

Affected files ...

.. //depot/projects/hammer/sys/kern/subr_mbuf.c#14 edit

Differences ...

==== //depot/projects/hammer/sys/kern/subr_mbuf.c#14 (text+ko) ====

@@ -607,8 +607,7 @@
  * the general container is empty, and we've run out of address space
  * in our map; then we try to block if we're willing to (M_TRYWAIT).
  */
-static __inline
-void *
+static void *
 mb_alloc(struct mb_lstmngr *mb_list, int how, short type, short persist, 
 	 int *pers_list)
 {
@@ -854,8 +853,7 @@
  *	    waiting for the lock; our bucket is in the general container;
  *	    our bucket is empty.
  */
-static __inline
-void
+static void
 mb_free(struct mb_lstmngr *mb_list, void *m, short type, short persist,
 	int *pers_list)
 {



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