]> 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)
commit36020bd74937c8c23d1d90c503bec57b9a4f3910
tree87d1f517365b7ec2113255fd537472d28b9697a4
parentfada9492a44a2ff7b2ed5d16d6a3d800ad921f44
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]