commit | 2304450783dfde7b0b94ae234edd0dbffa865073 | [log] [tgz] |
---|---|---|
author | Nick Piggin <npiggin@kernel.dk> | Fri Jan 07 17:49:31 2011 +1100 |
committer | Nick Piggin <npiggin@kernel.dk> | Fri Jan 07 17:50:20 2011 +1100 |
tree | b3435e65c24d69ccad9ef9492624f5b6081d86b8 | |
parent | 789680d1ee9311cdf095241dc02bd9784d799cd1 [diff] |
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>