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)
commit2304450783dfde7b0b94ae234edd0dbffa865073
treeb3435e65c24d69ccad9ef9492624f5b6081d86b8
parent789680d1ee9311cdf095241dc02bd9784d799cd1
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