69365bb834
Integrates the following host configuration into the configuration framework: - Host boot parameters - CPU reservation - Process affinity - Memory huge page allocations Change-Id: I2259e0e93eefd5ce5000271fa32ecaa8d13fa411 Signed-off-by: Matt Peters <matt.peters@windriver.com>
8 lines
198 B
Ruby
8 lines
198 B
Ruby
# Returns true if one GB pages is supported
|
|
Facter.add("is_gb_page_supported") do
|
|
setcode do
|
|
Facter::Core::Execution.exec('grep -q pdpe1gb /proc/cpuinfo')
|
|
$?.exitstatus == 0
|
|
end
|
|
end
|