Folks, It looks to me like this check here in net/core/stream.c for __sk_stream_mem_reclaim: if (sk->sk_forward_alloc >= SK_STREAM_MEM_QUANTUM) {
is unnecessary. It is also done in include/net/sock.h for sk_stream_mem_reclaim which if the test succeeds calls __sk_stream_mem_reclaim. This is the only use of it in the kernel. Now sk_stream_mem_reclaim seems to be in the current form for perfomance reasons which make sense so I think it makes sense to remove it from __sk_stream_mem_reclaim The danger of removing the check is an external module could use it - which I suspect is highly unlikely. This could be overcome by removing the export_symbol_gpl and shifting the function into the header file although this would result in mutliple instances being linked in. I am guessing that there is a smarter way to do this though which still results in the symbol not being exported. I don't know my way around the linking/exporting very well. Comments? I guess if this was done it would have to be put in feature removal schedule though because it is currently exported? Ian -- Ian McDonald Web: http://wand.net.nz/~iam4 Blog: http://imcdnzl.blogspot.com WAND Network Research Group Department of Computer Science University of Waikato New Zealand - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html