> bounce@xxxxxxxxxxxx] On Behalf Of Fernando Apesteguía >I would like to know how to free a list_head. > I have almost 200 elements and I'm wonder if I must traverse the list for All list entry removals are O(1). I don't think you need to worry about this too much. You shouldn't have a very large number of list entries within the kernel anyway. ./h -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/