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 13:24:17 -07:00
2006-08-06 08:57:47 -07:00
2006-06-28 14:59:04 -07:00
2006-07-29 20:59:55 -07:00
2006-06-29 10:26:20 -07:00
2006-06-23 07:42:52 -07:00
2006-06-30 11:25:36 -07:00
2006-06-23 07:42:48 -07:00
2006-03-22 07:54:02 -08:00
2006-06-29 10:49:17 -07:00
2006-04-17 18:22:18 -07:00
2006-06-30 11:25:34 -07:00
2006-08-06 08:57:49 -07:00
2006-07-14 21:53:56 -07:00
2006-09-01 11:39:10 -07:00
2006-09-01 11:39:09 -07:00
2006-06-25 10:00:55 -07:00
2006-01-11 18:42:13 -08:00
2006-09-08 08:40:46 -07:00
2006-07-10 13:24:17 -07:00
2006-06-23 07:42:51 -07:00
2006-07-03 15:27:07 -07:00
2006-06-23 17:10:39 +02:00
2006-07-14 21:53:53 -07:00
2006-07-03 15:27:11 -07:00
2006-09-22 15:08:41 -07:00
2006-06-30 11:25:36 -07:00
2006-06-30 11:25:36 -07:00
2006-06-25 10:01:06 -07:00
2006-06-26 18:35:02 +02:00
2006-06-30 11:25:35 -07:00
2006-06-30 15:39:30 -07:00
2006-07-31 13:28:43 -07:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-07-03 15:27:02 -07:00
2006-08-14 12:54:29 -07:00
2006-08-27 11:01:28 -07:00
2005-11-28 14:42:25 -08:00
2006-06-26 12:25:08 -07:00
2006-09-08 10:22:50 -07:00
2006-03-25 08:22:49 -08:00
2006-07-14 21:53:51 -07:00
2006-07-03 15:26:59 -07:00
2006-09-01 11:39:08 -07:00