On Thu, 2010-12-16 at 11:01 +0530, Saurabh8 Jain wrote: > Hi, > > I would like to know the memory usage that happens between user space > and kernel space communication. Communication happens via generic > netlink library and we need to register doit and dump functions. Yes. > I was going through function "nl80211_set_mesh_params" in > "net/wireless/nl80211.c" which receives values of mesh parameters. In > this function skb is passed but it is never used and the skb is not > freed. I saw other functions also which receives messages from user > space but no memory is released for skb. > Where is this memory getting free? Do I need to free this memory? Look at net/netlink/ -- we don't need to handle that. > When I executed iw commands to set few values in loop. I saw there is > drop in free memory of "top" command. I am working on > compatwireless-2010-06-27. You're seriously taking "top" for a measurement? That's like the worst possible way to measure memory usage. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html