mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Increase the kernel map's size to 7GB, making room for a kmem map of size
greater than 4GB. (Auto-sizing will set the ceiling on the kmem map size to 4.2GB.)
This commit is contained in:
parent
29f612ec71
commit
13e0058451
2 changed files with 4 additions and 4 deletions
|
|
@ -111,7 +111,7 @@
|
|||
|
||||
/* Initial number of kernel page tables. */
|
||||
#ifndef NKPT
|
||||
#define NKPT 2288
|
||||
#define NKPT 2688
|
||||
#endif
|
||||
|
||||
#define NKPML4E 1 /* number of kernel PML4 slots */
|
||||
|
|
@ -131,7 +131,7 @@
|
|||
#define KPML4I (NPML4EPG-1) /* Top 512GB for KVM */
|
||||
#define DMPML4I (KPML4I-1) /* Next 512GB down for direct map */
|
||||
|
||||
#define KPDPI (NPDPEPG-6) /* kernel map starts at -6GB */
|
||||
#define KPDPI (NPDPEPG-7) /* kernel map starts at -7GB */
|
||||
|
||||
/*
|
||||
* XXX doesn't really belong here I guess...
|
||||
|
|
|
|||
|
|
@ -154,8 +154,8 @@
|
|||
* 0xffff800000000000 - 0xffff804020100fff recursive page table (512GB slot)
|
||||
* 0xffff804020101000 - 0xfffffeffffffffff unused
|
||||
* 0xffffff0000000000 - 0xffffff7fffffffff 512GB direct map mappings
|
||||
* 0xffffff8000000000 - 0xfffffffe7fffffff unused (506GB)
|
||||
* 0xfffffffe80000000 - 0xffffffffffffffff 6GB kernel map
|
||||
* 0xffffff8000000000 - 0xfffffffe3fffffff unused (505GB)
|
||||
* 0xfffffffe40000000 - 0xffffffffffffffff 7GB kernel map
|
||||
*
|
||||
* Within the kernel map:
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue