| To: | davem@xxxxxxxxxx |
|---|---|
| Subject: | purpose of the skb head pool |
| From: | Christoph Hellwig <hch@xxxxxx> |
| Date: | Tue, 29 Apr 2003 13:55:06 +0200 |
| Cc: | netdev@xxxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.2.5i |
[sorry, wrong Cc: the first time] net/core/skbuf.c has a small per-cpu pool to keep some hot skbufs around instead of returning them to the system allocator. But if you loook at the slab allocator we'll have exactly that same code duplicated in there (see functions ac_data, __cache_alloc and kmem_cache_alloc in slab.c). So is there some other reason why this pool is needed? |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: 3c59x support, Bogdan Costescu |
|---|---|
| Next by Date: | Re: purpose of the skb head pool, Andi Kleen |
| Previous by Thread: | [PATCH] net/socket: return -EAFNOSUPPORT if net_family_get fails at sock_create and sys_accept, Arnaldo Carvalho de Melo |
| Next by Thread: | Re: purpose of the skb head pool, Andi Kleen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |