Home
last modified time | relevance | path

Searched refs:mem_policy (Results 1 – 3 of 3) sorted by relevance

/external/crosvm/src/plugin/
Dmod.rs694 let mut mem_policy = MemoryPolicy::empty(); in run_config() localVariable
696 mem_policy |= MemoryPolicy::USE_HUGEPAGES; in run_config()
698 mem.set_memory_policy(mem_policy); in run_config()
/external/crosvm/vm_memory/src/
Dguest_memory.rs271 pub fn set_memory_policy(&self, mem_policy: MemoryPolicy) { in set_memory_policy()
272 if mem_policy.contains(MemoryPolicy::USE_HUGEPAGES) { in set_memory_policy()
/external/crosvm/src/
Dlinux.rs2294 let mut mem_policy = MemoryPolicy::empty(); in run_config() localVariable
2296 mem_policy |= MemoryPolicy::USE_HUGEPAGES; in run_config()
2298 guest_mem.set_memory_policy(mem_policy); in run_config()