Skip to content
Commit b0b77567 authored by Andrew Boie's avatar Andrew Boie Committed by Anas Nashif
Browse files

x86: pre-allocate address space



We no longer use a page pool to draw memory pages when doing
memory map operations. We now preallocate the entire virtual
address space so no allocations are ever necessary when mapping
memory.

We still need memory to clone page tables, but this is now
expressed by a new Kconfig X86_MAX_ADDITIONAL_MEM_DOMAINS
which has much clearer semantics than specifying the number
of pages in the pool.

The default address space size is now 8MB, but this can be
tuned by the application.

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent ea10c98c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment