]> git.baikalelectronics.ru Git - kernel.git/commit
hashtable: introduce a small and naive hashtable
authorSasha Levin <levinsasha928@gmail.com>
Tue, 30 Oct 2012 18:45:57 +0000 (14:45 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Nov 2012 19:44:51 +0000 (12:44 -0700)
commit269689bb78d4700f4b8432d914bcd0229582503c
tree87d1f517365b7ec2113255fd537472d28b9697a4
parent9538762980156215fee1b7610bfac16ebf2ff72c
hashtable: introduce a small and naive hashtable

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 <levinsasha928@gmail.com>
[ Merging this now, so that subsystems can start applying Sasha's
  patches that use this   - Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/hashtable.h [new file with mode: 0644]