/ [base]
ViewVC logotype

Revision 187465


Jump to revision: Previous Next
Author: alc
Date: Tue Jan 20 07:24:28 2009 UTC (10 months ago)
Log Message:
MFC r179917,180333,180373,180378
  Prepare for a larger kernel virtual address space.  Specifically, once
  KERNBASE and VM_MIN_KERNEL_ADDRESS are no longer the same, the physical
  memory allocated during bootstrap will be offset from the low-end of the
  kernel's page table.

  Change create_pagetables() and pmap_init() so that many fewer page table
  pages have to be preallocated by create_pagetables().

  Eliminate pmap_growkernel()'s dependence on create_pagetables() preallocating
  page directory pages from VM_MIN_KERNEL_ADDRESS through the end of the
  kernel's bss.  Specifically, the dependence was in pmap_growkernel()'s one-
  time initialization of kernel_vm_end, not in its main body.  (I could not,
  however, resist the urge to optimize the main body.)

  Reduce the number of preallocated page directory pages to just those needed
  to support NKPT page table pages.  (In fact, this allows me to revert a
  couple of my earlier changes to create_pagetables().)

  Fix lines that are too long in pmap_growkernel() by substituting shorter
  but equivalent expressions.

Changed paths:

Path Details
Directorystable/7/sys/ modified , props changed
Directorystable/7/sys/amd64/amd64/pmap.c modified , text changed
Directorystable/7/sys/amd64/include/pmap.h modified , text changed
Directorystable/7/sys/contrib/pf/ modified , props changed
Directorystable/7/sys/dev/ath/ath_hal/ modified , props changed
Directorystable/7/sys/dev/cxgb/ modified , props changed

  ViewVC Help
Powered by ViewVC 1.1-dev