]> git.baikalelectronics.ru Git - kernel.git/commit
fs: dcache scale hash
authorNick Piggin <npiggin@kernel.dk>
Fri, 7 Jan 2011 06:49:30 +0000 (17:49 +1100)
committerNick Piggin <npiggin@kernel.dk>
Fri, 7 Jan 2011 06:50:20 +0000 (17:50 +1100)
commit6f5006c09c312d3043c50becc5d5bc368393f30f
treee6a984b0aa4791918f1b665f45210c2ab762969c
parentfe6b8b96f92a84f62411cbd2382b8eacb6ef61bf
fs: dcache scale hash

Add a new lock, dcache_hash_lock, to protect the dcache hash table from
concurrent modification. d_hash is also protected by d_lock.

Signed-off-by: Nick Piggin <npiggin@kernel.dk>
fs/dcache.c
include/linux/dcache.h