commit | b7760bb5a6e166b42135a9dd61aadbb603011638 | [log] [tgz] |
---|---|---|
author | James Nugent <james@jen20.com> | Tue Mar 14 19:40:30 2017 |
committer | James Nugent <james@jen20.com> | Tue Mar 14 21:28:50 2017 |
tree | 037cf1b451d0a0f95825eaebfe25fe10b186662e | |
parent | ae1d4ba8188c9b51d9a4fc777644edbf2ca62460 [diff] |
memory: Add basic Solaris VirtualMemory() support This commit adds support for VirtualMemory() in package mem. The support only extends to total memory capcity, since that is all that is required in Nomad. It does take into account global versus non-global zones, and does not use cgo. This has been tested inside a zone in the Joyent public cloud for a non-global zone, and in the global zone of a SmartOS virtual machine.