diff options
author | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 17:49:18 +1100 |
---|---|---|
committer | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 17:50:17 +1100 |
commit | 86c8749ede0c59e590de9267066932a26f1ce796 (patch) | |
tree | 316517d7c03d9caf0577acc517532ed2bc1801cc /fs/dlm | |
parent | ccd35fb9f4da856b105ea0f1e0cab3702e8ae6ba (diff) |
vfs: revert per-cpu nr_unused counters for dentry and inodes
The nr_unused counters count the number of objects on an LRU, and as such they
are synchronized with LRU object insertion and removal and scanning, and
protected under the LRU lock.
Making it per-cpu does not actually get any concurrency improvements because of
this lock, and summing the counter is much slower, and
incrementing/decrementing it costs more code size and is slower too.
These counters should stay per-LRU, which currently means global.
Signed-off-by: Nick Piggin <npiggin@kernel.dk>
Diffstat (limited to 'fs/dlm')
0 files changed, 0 insertions, 0 deletions