diff options
author | phk <phk@FreeBSD.org> | 2003-07-22 10:24:41 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-07-22 10:24:41 +0000 |
commit | c4a9334fa698660a5dd1a0c4fddb61ed0893fc58 (patch) | |
tree | 822136a990d18001b2db563f705887b258e810ce /sys/kern/subr_mbuf.c | |
parent | b5408a3e8f054d75ddbda2e0f17add2667916d6d (diff) | |
download | FreeBSD-src-c4a9334fa698660a5dd1a0c4fddb61ed0893fc58.zip FreeBSD-src-c4a9334fa698660a5dd1a0c4fddb61ed0893fc58.tar.gz |
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
Diffstat (limited to 'sys/kern/subr_mbuf.c')
-rw-r--r-- | sys/kern/subr_mbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |