summaryrefslogtreecommitdiffstats
path: root/sys/vm/uma_core.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-06-22 21:16:18 +0000
committermav <mav@FreeBSD.org>2014-06-22 21:16:18 +0000
commit48559e83fe4df046cb41c32db61d773aae911fd8 (patch)
tree33080f6667a6aa7d02ee2f4549e588666df51d92 /sys/vm/uma_core.c
parentfebec37d72817eae6f4c86618558d6d9d64c79d8 (diff)
downloadFreeBSD-src-48559e83fe4df046cb41c32db61d773aae911fd8.zip
FreeBSD-src-48559e83fe4df046cb41c32db61d773aae911fd8.tar.gz
MFC r267392:
Implement simple direct-mapped cache for popular filesystem identifiers to avoid congestion on global mountlist_mtx mutex in vfs_busyfs(), while traversing through the list of mount points. This change significantly improves NFS server scalability, since it had to do this translation for every request, and the global lock becomes quite congested. This code is more optimized for relatively small number of mount points. On systems with hundreds of active mount points this simple cache may have many collisions. But the original traversal code in that case should also behave much worse, so we are not loosing much.
Diffstat (limited to 'sys/vm/uma_core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud