diff options
author | avg <avg@FreeBSD.org> | 2010-10-07 18:16:14 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2010-10-07 18:16:14 +0000 |
commit | 86ef76003513bdab705bb75c5b1eed24a4cb1a76 (patch) | |
tree | 90197c37ba99dc3c0a0b3f34b44773061099ff77 /contrib/llvm/lib/CodeGen/StackProtector.cpp | |
parent | 7010764d95d1e14fa58744c9671c2a8b0abadee4 (diff) | |
download | FreeBSD-src-86ef76003513bdab705bb75c5b1eed24a4cb1a76.zip FreeBSD-src-86ef76003513bdab705bb75c5b1eed24a4cb1a76.tar.gz |
opensolaris_kmem kmem_size(): report lesser of vm_kmem_size and available
physical memory
This is needed to correctly autotune ZFS ARC size when vm_kmem_size is
set to value larger than available physical memory.
MFC after: 2 weeks
Diffstat (limited to 'contrib/llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions