cvs commit: src/sys/amd64/amd64 pmap.c src/sys/amd64/include pmap.h vmparam.h

Alan Cox alc at FreeBSD.org
Tue Jul 8 22:59:29 UTC 2008


alc         2008-07-08 22:59:17 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      pmap.c 
    sys/amd64/include    pmap.h vmparam.h 
  Log:
  SVN rev 180373 on 2008-07-08 22:59:17Z by alc
  
  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().)
  
  Revision  Changes    Path
  1.627     +30 -25    src/sys/amd64/amd64/pmap.c
  1.146     +2 -2      src/sys/amd64/include/pmap.h
  1.56      +2 -2      src/sys/amd64/include/vmparam.h


More information about the cvs-src mailing list