kernel: add bl_list
authorNick Piggin <npiggin@kernel.dk>
Fri, 7 Jan 2011 06:50:03 +0000 (17:50 +1100)
committerNick Piggin <npiggin@kernel.dk>
Fri, 7 Jan 2011 06:50:31 +0000 (17:50 +1100)
commit4e35e6070b1ceed89c3bba2af4216c286fb1dafd
tree94bd18604a978380c1fde46a3f188f1639067960
parent880566e17c4fce0d998d92610d32fcb9506aa6dd
kernel: add bl_list

Introduce a type of hlist that can support the use of the lowest bit in the
hlist_head. This will be subsequently used to implement per-bucket bit spinlock
for inode and dentry hashes, and may be useful in other cases such as network
hashes.

Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Nick Piggin <npiggin@kernel.dk>
include/linux/list_bl.h [new file with mode: 0644]
include/linux/rculist_bl.h [new file with mode: 0644]