]> git.baikalelectronics.ru Git - kernel.git/commit
fs: dcache scale lru
authorNick Piggin <npiggin@kernel.dk>
Fri, 7 Jan 2011 06:49:31 +0000 (17:49 +1100)
committerNick Piggin <npiggin@kernel.dk>
Fri, 7 Jan 2011 06:50:20 +0000 (17:50 +1100)
commitcc4ea4b8d66efaa308480fdd593f9a5425f05e6f
treeb3435e65c24d69ccad9ef9492624f5b6081d86b8
parent6f5006c09c312d3043c50becc5d5bc368393f30f
fs: dcache scale lru

Add a new lock, dcache_lru_lock, to protect the dcache LRU list from concurrent
modification. d_lru is also protected by d_lock, which allows LRU lists to be
accessed without the lru lock, using RCU in future patches.

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