cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c

John Baldwin jhb at FreeBSD.org
Wed Sep 17 21:05:52 UTC 2008


jhb         2008-09-17 21:05:31 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/amd64/amd64      pmap.c 
    sys/i386/i386        pmap.c 
  Log:
  SVN rev 183130 on 2008-09-17 21:05:31Z by jhb
  
  MFC: 180352
  In FreeBSD 7.0 and beyond, pmap_growkernel() should pass VM_ALLOC_INTERRUPT
  to vm_page_alloc() instead of VM_ALLOC_SYSTEM.  VM_ALLOC_SYSTEM was the
  logical choice before FreeBSD 7.0 because VM_ALLOC_INTERRUPT could not
  reclaim a cached page.  Simply put, there was no ordering between
  VM_ALLOC_INTERRUPT and VM_ALLOC_SYSTEM as to which "dug deeper" into the
  cache and free queues.  Now, there is; VM_ALLOC_INTERRUPT dominates
  VM_ALLOC_SYSTEM.
  
  While I'm here, teach pmap_growkernel() to request a prezeroed page.
  
  Approved by:    re (kib), alc
  
  Revision    Changes    Path
  1.590.2.8   +8 -4      src/sys/amd64/amd64/pmap.c
  1.594.2.10  +4 -2      src/sys/i386/i386/pmap.c


More information about the cvs-src mailing list