summaryrefslogtreecommitdiffstats
path: root/Documentation/magic-number.txt
diff options
context:
space:
mode:
authorNick Piggin <npiggin@kernel.dk>2011-01-07 07:49:18 +0100
committerNick Piggin <npiggin@kernel.dk>2011-01-07 07:50:17 +0100
commit86c8749ede0c59e590de9267066932a26f1ce796 (patch)
tree316517d7c03d9caf0577acc517532ed2bc1801cc /Documentation/magic-number.txt
parentkernel: kmem_ptr_validate considered harmful (diff)
downloadlinux-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/magic-number.txt')
0 files changed, 0 insertions, 0 deletions