Re: [PATCH v2 01/16] hashtable: introduce a small and naive hashtable

2012-08-19 Thread Sasha Levin
On 08/19/2012 04:16 PM, Mathieu Desnoyers wrote: > * Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: >> * Sasha Levin (levinsasha...@gmail.com) wrote: > [...] >>> +/** >>> + * hash_for_each_possible - iterate over all possible objects for a given >>> key >>> + * @name: hashtable to

Re: [PATCH v2 01/16] hashtable: introduce a small and naive hashtable

2012-08-19 Thread Sasha Levin
On 08/19/2012 03:16 PM, Mathieu Desnoyers wrote: > * 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 >> --- >>

Re: [PATCH v2 01/16] hashtable: introduce a small and naive hashtable

2012-08-19 Thread Mathieu Desnoyers
* Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: > * Sasha Levin (levinsasha...@gmail.com) wrote: [...] > > +/** > > + * hash_for_each_possible - iterate over all possible objects for a given > > key > > + * @name: hashtable to iterate > > + * @obj: the type * to use as a loop cursor

Re: [PATCH v2 01/16] hashtable: introduce a small and naive hashtable

2012-08-19 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 > --- > include/linux/hashtable.h | 284 >

Re: [PATCH v2 01/16] hashtable: introduce a small and naive hashtable

2012-08-19 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 levinsasha...@gmail.com --- include/linux/hashtable.h | 284

Re: [PATCH v2 01/16] hashtable: introduce a small and naive hashtable

2012-08-19 Thread Mathieu Desnoyers
* Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: * Sasha Levin (levinsasha...@gmail.com) wrote: [...] +/** + * hash_for_each_possible - iterate over all possible objects for a given key + * @name: hashtable to iterate + * @obj: the type * to use as a loop cursor for each

Re: [PATCH v2 01/16] hashtable: introduce a small and naive hashtable

2012-08-19 Thread Sasha Levin
On 08/19/2012 03:16 PM, Mathieu Desnoyers wrote: * 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 levinsasha...@gmail.com

Re: [PATCH v2 01/16] hashtable: introduce a small and naive hashtable

2012-08-19 Thread Sasha Levin
On 08/19/2012 04:16 PM, Mathieu Desnoyers wrote: * Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: * Sasha Levin (levinsasha...@gmail.com) wrote: [...] +/** + * hash_for_each_possible - iterate over all possible objects for a given key + * @name: hashtable to iterate + * @obj:

[PATCH v2 01/16] hashtable: introduce a small and naive hashtable

2012-08-18 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 --- include/linux/hashtable.h | 284 + 1 files changed, 284 insertions(+), 0

[PATCH v2 01/16] hashtable: introduce a small and naive hashtable

2012-08-18 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 levinsasha...@gmail.com --- include/linux/hashtable.h | 284 + 1 files changed,