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-09-19 12:43:58 +01:00
2006-09-19 12:43:58 +01:00
2006-09-07 15:57:12 +01:00
2006-09-22 14:55:36 -07:00
2006-09-22 14:55:33 -07:00
2006-09-19 12:43:58 +01:00
2006-09-22 14:55:33 -07:00
2006-09-22 14:55:33 -07:00
2006-09-19 12:43:58 +01:00
2006-09-19 12:43:58 +01:00
2006-09-22 12:56:22 -07:00
2006-09-19 12:43:58 +01:00
2006-09-19 12:43:58 +01:00
2006-09-06 11:00:02 -07:00
2006-09-11 13:32:30 -04:00
2006-09-22 15:08:41 -07:00
2006-08-27 11:01:29 -07:00
2006-09-21 11:46:23 +10:00
2006-09-01 11:39:08 -07:00
2006-09-22 14:54:25 -07:00
2006-08-27 11:01:32 -07:00
2006-09-06 11:00:01 -07:00
2006-09-22 14:53:47 -07:00
2006-09-22 14:53:50 -07:00
2006-09-22 15:07:00 -07:00
2006-09-22 14:53:32 -07:00
2006-09-22 15:06:54 -07:00
2006-08-27 11:01:32 -07:00
2006-09-19 12:43:58 +01:00
2006-09-06 11:00:02 -07:00
2006-09-01 11:39:08 -07:00
2006-09-20 15:58:25 +02:00
2006-09-22 14:54:04 -07:00
2006-09-22 14:54:20 -07:00
2006-09-22 14:53:53 -07:00
2006-08-26 20:28:30 -07:00
2006-09-22 14:53:54 -07:00
2006-09-13 07:32:15 -07:00
2006-09-08 10:22:51 -07:00
2006-08-27 11:01:32 -07:00
2006-09-08 10:22:50 -07:00
2006-09-22 14:55:02 -07:00
2006-09-21 11:46:16 +10:00
2006-09-01 11:39:08 -07:00
2006-09-22 14:53:36 -07:00
2006-09-22 14:53:53 -07:00
2006-09-22 14:55:16 -07:00
2006-09-22 14:53:33 -07:00
2006-09-13 07:32:15 -07:00
2006-08-27 11:01:34 -07:00
2006-09-10 13:45:55 -03:00
2006-09-10 13:45:55 -03:00
2006-08-27 11:01:29 -07:00
2006-09-22 15:08:35 -07:00