Enable superpage promotion within the kernel pmap.
Reviewed by: markj X-MFC after: r350004 Differential Revision: https://reviews.freebsd.org/D21149
This commit is contained in:
parent
2b50838563
commit
061b729fd4
@ -3425,8 +3425,7 @@ pmap_enter(pmap_t pmap, vm_offset_t va, vm_page_t m, vm_prot_t prot,
|
||||
}
|
||||
|
||||
#if VM_NRESERVLEVEL > 0
|
||||
if (pmap != pmap_kernel() &&
|
||||
(mpte == NULL || mpte->wire_count == NL3PG) &&
|
||||
if ((mpte == NULL || mpte->wire_count == NL3PG) &&
|
||||
pmap_ps_enabled(pmap) &&
|
||||
(m->flags & PG_FICTITIOUS) == 0 &&
|
||||
vm_reserv_level_iffullpop(m) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user