https://github.com/torvalds/linux
Revision 3a48ee8a4ad26c3a538b6fc11a86a8f80c3dce18 authored by Andreas Gruenbacher on 16 August 2010, 17:05:23 UTC, committed by Al Viro on 18 August 2010, 10:24:41 UTC
Limit the maximum number of mb_cache entries depending on the number of
hash buckets: if the only limit to the number of cache entries is the
available memory the hash chains can grow very long, taking a long time
to search.

At least partially solves https://bugzilla.lustre.org/show_bug.cgi?id=22771.

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 3b6036d
History
Tip revision: 3a48ee8a4ad26c3a538b6fc11a86a8f80c3dce18 authored by Andreas Gruenbacher on 16 August 2010, 17:05:23 UTC
mbcache: Limit the maximum number of cache entries
Tip revision: 3a48ee8
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 172.4 KB
Makefile -rw-r--r-- 50.5 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top