diff options
author | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 07:49:18 +0100 |
---|---|---|
committer | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 07:50:17 +0100 |
commit | 86c8749ede0c59e590de9267066932a26f1ce796 (patch) | |
tree | 316517d7c03d9caf0577acc517532ed2bc1801cc /Documentation/gcov.txt | |
parent | kernel: kmem_ptr_validate considered harmful (diff) | |
download | linux-86c8749ede0c59e590de9267066932a26f1ce796.tar.xz linux-86c8749ede0c59e590de9267066932a26f1ce796.zip |
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 'Documentation/gcov.txt')
0 files changed, 0 insertions, 0 deletions