From 006ec965299dcd8d9be11a465e511393bebdea37 Mon Sep 17 00:00:00 2001 From: kib Date: Wed, 8 Apr 2015 19:46:13 +0000 Subject: [PATCH] Explain that vm_page_array is mapped to describe the memory, not the memory itself. Provide the formula to calculate the number of required page tables. Correct the size of the struct vm_page for non-PAE case. Reviewed by: alc, jhb (previous version) Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/i386/include/pmap.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sys/i386/include/pmap.h b/sys/i386/include/pmap.h index 05656cd233a5..2c9a409634db 100644 --- a/sys/i386/include/pmap.h +++ b/sys/i386/include/pmap.h @@ -122,13 +122,18 @@ */ #define VADDR(pdi, pti) ((vm_offset_t)(((pdi)<