OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 2/6][INET]: Consolidate inet(6)_hash_connect.
Re: [PATCH 2/6][INET]: Consolidate inet(6)_hash_connect. [message #26755 is a reply to message #26746] Thu, 31 January 2008 13:14 Go to previous messageGo to previous message
davem is currently offline  davem
Messages: 463
Registered: February 2006
Senior Member
From: Arnaldo Carvalho de Melo <acme@redhat.com>
Date: Thu, 31 Jan 2008 11:01:53 -0200

> Em Thu, Jan 31, 2008 at 03:32:09PM +0300, Pavel Emelyanov escreveu:
> > These two functions are the same except for what they call
> > to "check_established" and "hash" for a socket.
> > 
> > This saves half-a-kilo for ipv4 and ipv6.
> 
> Good stuff!
> 
> Yesterday I was perusing tcp_hash and I think we could have the hashinfo
> pointer stored perhaps in sk->sk_prot.
> 
> That way we would be able to kill tcp_hash(), inet_put_port() could
> receive just sk, etc.
> 
> What do you think?

Sounds good to me.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OLS Mini-Summit Proposal for Containers
Next Topic: [PATCH][NETFILTER]: Ipv6-related xt_hashlimit compilation fix.
Goto Forum:
  


Current Time: Mon Aug 11 22:43:25 GMT 2025

Total time taken to generate the page: 0.37235 seconds