https://github.com/torvalds/linux
Revision 1879fd6a26571fd4e8e1f4bb3e7537bc936b1fe7 authored by Christoph Hellwig on 25 April 2011, 18:01:36 UTC, committed by Linus Torvalds on 26 April 2011, 01:14:10 UTC
Now that the whole dcache_hash_bucket crap is gone, go all the way and
also remove the weird locking layering violations for locking the hash
buckets.  Add hlist_bl_lock/unlock helpers to move the locking into the
list abstraction instead of requiring each caller to open code it.
After all allowing for the bit locks is the whole point of these helpers
over the plain hlist variant.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 3dd2ee4
History
Tip revision: 1879fd6a26571fd4e8e1f4bb3e7537bc936b1fe7 authored by Christoph Hellwig on 25 April 2011, 18:01:36 UTC
add hlist_bl_lock/unlock helpers
Tip revision: 1879fd6
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 941 bytes
.mailmap -rw-r--r-- 4.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.7 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 188.3 KB
Makefile -rw-r--r-- 51.1 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top