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

Alan Cox alc at FreeBSD.org
Mon Jul 7 17:26:45 UTC 2008


alc         2008-07-07 17:25:09 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      pmap.c 
    sys/i386/i386        pmap.c 
  Log:
  SVN rev 180352 on 2008-07-07 17:25:09Z by alc
  
  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.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.626     +8 -4      src/sys/amd64/amd64/pmap.c
  1.621     +4 -2      src/sys/i386/i386/pmap.c


More information about the cvs-src mailing list