David S. Miller
f034b5d4ef
[XFRM]: Dynamic xfrm_state hash table sizing.
...
The grow algorithm is simple, we grow if:
1) we see a hash chain collision at insert, and
2) we haven't hit the hash size limit (currently 1*1024*1024 slots), and
3) the number of xfrm_state objects is > the current hash mask
All of this needs some tweaking.
Remove __initdata from "hashdist" so we can use it safely at run time.
Signed-off-by: David S. Miller <davem@davemloft.net >
2006-09-22 15:08:41 -07:00
..
2006-07-10 02:39:47 -04:00
2006-09-19 12:43:58 +01:00
2006-09-18 16:28:50 +01:00
2006-07-14 21:56:14 -07:00
2006-07-14 21:56:14 -07:00
2006-07-14 21:56:14 -07:00
2006-09-19 12:43:58 +01:00
2006-07-14 21:56:14 -07:00
2006-09-19 12:43:58 +01:00
2006-09-19 12:43:58 +01:00
2006-07-14 21:56:14 -07:00
2006-09-19 07:59:59 -07:00
2006-07-14 21:56:14 -07:00
2006-09-13 07:32:16 -07:00
2006-09-19 07:59:59 -07:00
2006-09-22 12:56:22 -07:00
2006-09-21 22:59:39 +10:00
2006-09-22 12:56:22 -07:00
2006-09-08 10:22:50 -07:00
2006-09-12 14:38:23 +09:00
2006-09-19 12:43:58 +01:00
2006-09-19 12:43:58 +01:00
2006-07-04 12:55:45 -07:00
2006-07-14 21:56:14 -07:00
2006-09-19 12:43:58 +01:00
2006-07-14 21:56:14 -07:00
2006-09-21 11:46:17 +10:00
2006-06-26 09:58:18 -07:00
2006-09-22 15:08:41 -07:00
2005-04-16 15:20:36 -07:00
2006-09-10 13:45:55 -03:00
2006-09-22 12:56:22 -07:00
2006-09-22 15:08:40 -07:00
2006-04-26 12:56:16 +01:00
2006-09-19 12:43:58 +01:00
2005-10-08 15:00:57 -07:00
2006-09-19 12:43:58 +01:00
2006-09-19 12:43:58 +01:00
2006-09-19 12:43:58 +01:00
2006-09-19 12:43:58 +01:00