]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2dfad78e7b422f6903b01ac4c4fe690ef3e2f9b4
tree94bd18604a978380c1fde46a3f188f1639067960
parent32ece0bd2b45b651b73c5125e074f2fe183a212e
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]