Re: [PATCH] slab: deal with NULL pointers passed to kmem_cache_free

From: Eric Dumazet
Date: Tue Mar 20 2007 - 03:57:58 EST


Pekka J Enberg a écrit :
Thanks for the profile. I still wonder where exactly thouse super-hot call-sites are...


In this case, it's a typical network server

Each time a packet is sent to or received from network, network stack has to allocate/free a skb (kmem_cache_alloc()/kmem_cache_free() and its data (kmalloc/kfree)

Other paths are for example dentries allocations, file allocations, ... really many spots for some workloads.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/