Page MenuHomeFreeBSD

D42241.diff
No OneTemporary

D42241.diff

diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c
--- a/sys/amd64/amd64/mp_machdep.c
+++ b/sys/amd64/amd64/mp_machdep.c
@@ -300,11 +300,12 @@
m = NULL;
if (vm_ndomains > 1) {
m = vm_page_alloc_noobj_domain(
- acpi_pxm_get_cpu_locality(cpu_apic_ids[cpu]), 0);
+ acpi_pxm_get_cpu_locality(cpu_apic_ids[cpu]),
+ VM_ALLOC_ZERO);
}
if (m == NULL)
#endif
- m = vm_page_alloc_noobj(0);
+ m = vm_page_alloc_noobj(VM_ALLOC_ZERO);
if (m == NULL)
panic("cannot alloc pcpu page for cpu %d", cpu);
pmap_qenter((vm_offset_t)&__pcpu[cpu], &m, 1);

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 27, 8:55 PM (8 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16212494
Default Alt Text
D42241.diff (605 B)

Event Timeline