From c4a9334fa698660a5dd1a0c4fddb61ed0893fc58 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 22 Jul 2003 10:24:41 +0000 Subject: Don't attempt to inline large functions mb_alloc() and mb_free(), it more than doubles the text size of this file. GCC has wisely ignored us on this previously --- sys/kern/subr_mbuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/subr_mbuf.c') diff --git a/sys/kern/subr_mbuf.c b/sys/kern/subr_mbuf.c index 1ab9240..8f24146 100644 --- a/sys/kern/subr_mbuf.c +++ b/sys/kern/subr_mbuf.c @@ -607,7 +607,7 @@ mb_pop_cont(struct mb_lstmngr *mb_list, int how, struct mb_pcpu_list *cnt_lst) * 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 +static void * mb_alloc(struct mb_lstmngr *mb_list, int how, short type, short persist, int *pers_list) @@ -854,7 +854,7 @@ mb_alloc_wait(struct mb_lstmngr *mb_list, short type) * waiting for the lock; our bucket is in the general container; * our bucket is empty. */ -static __inline +static void mb_free(struct mb_lstmngr *mb_list, void *m, short type, short persist, int *pers_list) -- cgit v1.1