netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* purpose of the skb head pool
@ 2003-04-29 11:55 Christoph Hellwig
  2003-04-29 13:03 ` Andi Kleen
  2003-04-29 13:05 ` Robert Olsson
  0 siblings, 2 replies; 11+ messages in thread
From: Christoph Hellwig @ 2003-04-29 11:55 UTC (permalink / raw)
  To: davem; +Cc: netdev

[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?

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-05-01 10:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-29 11:55 purpose of the skb head pool Christoph Hellwig
2003-04-29 13:03 ` Andi Kleen
2003-04-29 13:11   ` Robert Olsson
2003-04-29 13:08     ` David S. Miller
2003-04-29 14:16       ` Christoph Hellwig
2003-04-29 13:12         ` David S. Miller
2003-04-29 14:21           ` Christoph Hellwig
2003-04-30  5:39             ` David S. Miller
2003-04-29 13:05 ` Robert Olsson
2003-05-01 10:38   ` Florian Weimer
2003-05-01  9:35     ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).