Eric Dumazet
243bbcaa09
[IPV4]: Optimize inet_getpeer()
...
1) Some sysctl vars are declared __read_mostly
2) We can avoid updating stack[] when doing an AVL lookup only.
lookup() macro is extended to receive a second parameter, that may be NULL
in case of a pure lookup (no need to save the AVL path). This removes
unnecessary instructions, because compiler knows if this _stack parameter is
NULL or not.
text size of net/ipv4/inetpeer.o is 2063 bytes instead of 2107 on x86_64
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2007-04-25 22:23:49 -07:00
..
2007-02-14 08:09:59 -08:00
2007-04-25 22:23:34 -07:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-14 08:09:54 -08:00
2007-03-12 14:38:02 -07:00
2007-02-10 23:19:39 -08:00
2007-03-09 13:43:24 -08:00
2007-02-10 23:19:39 -08:00
2007-04-25 13:07:28 -07:00
2007-02-14 08:09:54 -08:00
2006-09-28 18:02:23 -07:00
2007-03-25 18:48:00 -07:00
2007-03-25 18:48:03 -07:00
2007-03-26 14:22:22 -07:00
2007-02-10 23:19:39 -08:00
2007-03-12 17:02:37 -07:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-08 14:16:46 -08:00
2007-04-25 22:23:49 -07:00
2007-02-14 08:09:54 -08:00
2007-04-25 22:23:34 -07:00
2007-02-14 08:09:54 -08:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2007-02-14 08:09:54 -08:00
2007-02-14 08:09:54 -08:00
2007-02-10 23:19:39 -08:00
2007-02-12 09:48:46 -08:00
2007-02-14 08:09:54 -08:00
2007-02-14 08:09:54 -08:00
2007-04-25 22:23:18 -07:00
2007-04-25 22:23:18 -07:00
2007-02-14 08:09:54 -08:00
2007-02-26 11:43:00 -08:00
2007-02-14 08:09:54 -08:00
2007-02-26 11:43:00 -08:00
2007-02-10 23:19:39 -08:00
2007-02-12 09:48:46 -08:00
2007-02-14 08:09:54 -08:00
2007-02-12 09:48:46 -08:00
2007-04-25 22:23:32 -07:00
2007-02-10 23:19:39 -08:00
2007-04-25 22:23:23 -07:00
2006-09-22 15:18:04 -07:00
2007-04-25 22:23:19 -07:00
2007-04-25 22:23:47 -07:00
2006-06-30 19:25:36 +02:00
2007-02-10 23:19:39 -08:00
2007-02-12 13:34:03 -08:00
2006-09-22 15:18:13 -07:00
2007-04-25 22:23:32 -07:00
2007-04-25 22:23:32 -07:00
2006-09-28 18:03:07 -07:00
2007-04-25 22:23:32 -07:00
2007-04-25 22:23:23 -07:00
2007-02-12 09:48:46 -08:00
2006-06-30 19:25:36 +02:00
2007-02-10 23:19:39 -08:00
2007-02-10 23:19:39 -08:00
2006-09-22 15:18:13 -07:00
2007-02-10 23:19:39 -08:00
2007-04-25 22:23:48 -07:00
2007-04-25 22:23:33 -07:00
2007-03-16 15:04:03 -07:00
2007-02-13 12:54:47 -08:00
2007-02-10 23:19:39 -08:00
2007-03-07 16:08:04 -08:00
2006-12-02 21:31:51 -08:00
2007-02-13 12:54:47 -08:00
2007-04-23 22:39:02 -07:00
2006-09-22 15:18:48 -07:00
2007-02-26 11:43:01 -08:00
2007-02-10 23:19:39 -08:00
2007-02-26 12:10:32 -08:00
2007-02-08 12:39:00 -08:00
2007-02-13 12:54:47 -08:00