> In the network layer implementation, how the memory > management is being taken care of? Because if you > allocate a memory whenever you recieve a packet, by > calling malloc (which is a blocking call) it will take > lot of time to process a packet. So is there any AFAIK, caches (kmem_cache_t) are used to allocate often used objects. Swapnil. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/