Re: [PATCH net-next 3/7] rhashtable: Call library function alloc_bucket_locks

2016-09-20 Thread Herbert Xu
Tom Herbert wrote: > To allocate the array of bucket locks for the hash table we now > call library function alloc_bucket_spinlocks. This function is > based on the old alloc_bucket_locks in rhashtable and should > produce the same effect. > > Acked-by: Thomas Graf > Signed-off-by: Tom Herbert

[PATCH net-next 3/7] rhashtable: Call library function alloc_bucket_locks

2016-09-14 Thread Tom Herbert
To allocate the array of bucket locks for the hash table we now call library function alloc_bucket_spinlocks. This function is based on the old alloc_bucket_locks in rhashtable and should produce the same effect. Acked-by: Thomas Graf Signed-off-by: Tom Herbert --- lib/rhashtable.c | 46 ---