summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2002-11-25 17:57:32 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-11-25 17:57:32 -0800
commit23e77b64ea70c5a6375bd0f344f836541ac9a622 (patch)
tree3de2844fe83735d50f71bf641fedfeb630cd61a1 /include/linux
parent6e1f23ff2931089a8abc06c0caf75b0592149a48 (diff)
[PATCH] reduced latency in dentry and inode cache shrinking
Shrinking a huge number of dentries or inodes can hold dcache_lock or inode_lock for a long time. Not only does this hold off preemption - holding those locks basically shuts down the whole VFS. A neat fix for all such caches is to chunk the work up at the shrink_slab() level. I made the chunksize pretty small, for scalability reasons - avoid holding the lock for too long so another CPU can come in, acquire it and go off to do some work.
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions