Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2009 07:24:28 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/amd64/amd64 pmap.c src/sys/amd64/include pmap.h
Message-ID:  <200901200724.n0K7OXsA025760@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
alc         2009-01-20 07:24:28 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/amd64/amd64      pmap.c 
    sys/amd64/include    pmap.h 
  Log:
  SVN rev 187465 on 2009-01-20 07:24:28Z by alc
  
  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.
  
  Revision    Changes    Path
  1.590.2.12  +29 -20    src/sys/amd64/amd64/pmap.c
  1.138.2.3   +1 -2      src/sys/amd64/include/pmap.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901200724.n0K7OXsA025760>