Re: [PATCH v4] hashtable: introduce a small and naive hashtable

2012-09-10 Thread Sasha Levin
On 09/10/2012 04:48 AM, Mathieu Desnoyers wrote: > * Sasha Levin (levinsasha...@gmail.com) wrote: >> +#define hash_init(hashtable) >> \ >> +({ >> \ >> +int __i;

Re: [PATCH v4] hashtable: introduce a small and naive hashtable

2012-09-09 Thread Mathieu Desnoyers
* Sasha Levin (levinsasha...@gmail.com) wrote: > This hashtable implementation is using hlist buckets to provide a simple > hashtable to prevent it from getting reimplemented all over the kernel. > > Signed-off-by: Sasha Levin > --- > > I'll send just the hashtable patch itself to avoid spamming

[PATCH v4] hashtable: introduce a small and naive hashtable

2012-09-09 Thread Sasha Levin
This hashtable implementation is using hlist buckets to provide a simple hashtable to prevent it from getting reimplemented all over the kernel. Signed-off-by: Sasha Levin --- I'll send just the hashtable patch itself to avoid spamming a bunch of people until it's stable again. include/linux/