Re: [PATCH 2/6][INET]: Consolidate inet(6)_hash_connect.

2008-01-31 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 31, 2008 at 11:39:55AM -0200, Arnaldo Carvalho de Melo escreveu: > Em Thu, Jan 31, 2008 at 04:18:51PM +0300, Pavel Emelyanov escreveu: > > Arnaldo Carvalho de Melo wrote: > > > Em Thu, Jan 31, 2008 at 03:32:09PM +0300, Pavel Emelyanov escreveu: > > >> These two functions are the same ex

Re: [PATCH 2/6][INET]: Consolidate inet(6)_hash_connect.

2008-01-31 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 31, 2008 at 04:18:51PM +0300, Pavel Emelyanov escreveu: > Arnaldo Carvalho de Melo wrote: > > 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. > >> > >

Re: [PATCH 2/6][INET]: Consolidate inet(6)_hash_connect.

2008-01-31 Thread Pavel Emelyanov
Arnaldo Carvalho de Melo wrote: > 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 wa

Re: [PATCH 2/6][INET]: Consolidate inet(6)_hash_connect.

2008-01-31 Thread David Miller
From: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> 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

Re: [PATCH 2/6][INET]: Consolidate inet(6)_hash_connect.

2008-01-31 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Thu, 31 Jan 2008 15:32:09 +0300 > 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. > > add/remove: 1/0 grow/shrink: 1/4 up/down: 582/-1128 (-

Re: [PATCH 2/6][INET]: Consolidate inet(6)_hash_connect.

2008-01-31 Thread Arnaldo Carvalho de Melo
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

[PATCH 2/6][INET]: Consolidate inet(6)_hash_connect.

2008-01-31 Thread Pavel Emelyanov
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. add/remove: 1/0 grow/shrink: 1/4 up/down: 582/-1128 (-546) function old new delta __inet_hash_connect