summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/audio_manager_module.c
diff options
context:
space:
mode:
authorLi Dongyang <dongyang.li@anu.edu.au>2016-12-03 03:53:17 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-12-06 12:54:33 +0300
commit817990ba1a1545875fed01a9014ac7f78dedf16d (patch)
tree8e9157ec764d161324353729e9d1a365a957dbef /drivers/staging/greybus/audio_manager_module.c
parentbfb9944c215d1207bae47b53ddc5900c8d570007 (diff)
downloadlinux-817990ba1a1545875fed01a9014ac7f78dedf16d.tar.xz
staging: lustre: obdclass: limit lu_site hash table size on clients
Allocating a big hash table using the current formula does not really work for clients. We will create new hash table for each mount on a single client which is a lot of memory more than expected. This patch limits the hash table up to 8M for clients, which has 524288 entries. Signed-off-by: Li Dongyang <dongyang.li@anu.edu.au> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7689 Reviewed-on: http://review.whamcloud.com/18048 Reviewed-by: Fan Yong <fan.yong@intel.com> Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/greybus/audio_manager_module.c')
0 files changed, 0 insertions, 0 deletions