mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Enable handling of 1GB pages in the direct map since HEAD supports those.
Submitted by: neel
This commit is contained in:
parent
34a6b2d627
commit
e22b232b0e
1 changed files with 1 additions and 2 deletions
|
|
@ -168,8 +168,7 @@ vmm_mem_direct_map(vm_paddr_t start, vm_paddr_t end)
|
|||
if (end >= NBPML4)
|
||||
panic("Cannot map memory beyond %ldGB", NBPML4 / GB);
|
||||
|
||||
/* XXX FreeBSD 8.1 does not use 1G superpages in the direct map */
|
||||
if (0 && vmm_supports_1G_pages())
|
||||
if (vmm_supports_1G_pages())
|
||||
superpage_size = NBPDP;
|
||||
else
|
||||
superpage_size = NBPDR;
|
||||
|
|
|
|||
Loading…
Reference in a new issue