Provide settings for superpage reservation system on ARM.
This allows for enabling and configuring superpages reservation mechanism in order to allocate and populate 256 4KB base pages (for the purpose of promotion to a 1MB superpage). Submitted by: Zbigniew Bodek <zbb@semihalf.com> Reviewed by: alc Sponsored by: The FreeBSD Foundation, Semihalf
This commit is contained in:
parent
1075825bed
commit
6a3d0fcc3e
@ -109,10 +109,17 @@
|
||||
#define VM_NFREEORDER 9
|
||||
|
||||
/*
|
||||
* Disable superpage reservations.
|
||||
* Enable superpage reservations: 1 level.
|
||||
*/
|
||||
#ifndef VM_NRESERVLEVEL
|
||||
#define VM_NRESERVLEVEL 0
|
||||
#define VM_NRESERVLEVEL 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Level 0 reservations consist of 256 pages.
|
||||
*/
|
||||
#ifndef VM_LEVEL_0_ORDER
|
||||
#define VM_LEVEL_0_ORDER 8
|
||||
#endif
|
||||
|
||||
#define UPT_MAX_ADDRESS VADDR(UPTPTDI + 3, 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user