summaryrefslogtreecommitdiff
path: root/net/sched/sch_blackhole.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2010-08-16 17:05:23 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2010-08-18 10:24:41 (GMT)
commit3a48ee8a4ad26c3a538b6fc11a86a8f80c3dce18 (patch)
tree3e89deaa14c8d72c7484f61c2babc5755a9e991e /net/sched/sch_blackhole.c
parent3b6036d148bad5bb7928b021a49bb9e395361084 (diff)
downloadlinux-fsl-qoriq-3a48ee8a4ad26c3a538b6fc11a86a8f80c3dce18.tar.xz
mbcache: Limit the maximum number of cache entries
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>
Diffstat (limited to 'net/sched/sch_blackhole.c')
0 files changed, 0 insertions, 0 deletions