diff options
author | alfred <alfred@FreeBSD.org> | 2012-11-10 02:08:40 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2012-11-10 02:08:40 +0000 |
commit | 7beb738c8a72cc197d3e898784afe3fba28f1834 (patch) | |
tree | 2d08cbee7278cd7eea9a43b81a23320e35210c05 /contrib/libc++/src/chrono.cpp | |
parent | 8e1fdec2c76a948b16ebf8e4abe2cb73a60d3477 (diff) | |
download | FreeBSD-src-7beb738c8a72cc197d3e898784afe3fba28f1834.zip FreeBSD-src-7beb738c8a72cc197d3e898784afe3fba28f1834.tar.gz |
Allow maxusers to scale on machines with large address space.
Some hooks are added to clamp down maxusers and nmbclusters for
small address space systems.
VM_MAX_AUTOTUNE_MAXUSERS - the max maxusers that will be autotuned based on
physical memory.
VM_MAX_AUTOTUNE_NMBCLUSTERS - max nmbclusters based on physical memory.
These are set to the old values on i386 to preserve the clamping that was
being done to all arches.
Another macro VM_AUTOTUNE_NMBCLUSTERS is provided to allow an override
for the calculation on a MD basis. Currently no arch defines this.
Reviewed by: peter
MFC after: 2 weeks
Diffstat (limited to 'contrib/libc++/src/chrono.cpp')
0 files changed, 0 insertions, 0 deletions