cvs commit: src/sys/vm vm_page.c vm_page.h

Alan Cox alc at FreeBSD.org
Sat Oct 23 23:15:37 PDT 2004


alc         2004-10-24 06:15:37 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               vm_page.c vm_page.h 
  Log:
  Introduce VM_ALLOC_NOBUSY, an option to vm_page_alloc() and vm_page_grab()
  that indicates that the caller does not want a page with its busy flag set.
  In many places, the global page queues lock is acquired and released just
  to clear the busy flag on a just allocated page.  Both the allocation of
  the page and the clearing of the busy flag occur while the containing vm
  object is locked.  So, the busy flag might as well never be set.
  
  Revision  Changes    Path
  1.294     +3 -2      src/sys/vm/vm_page.c
  1.134     +1 -0      src/sys/vm/vm_page.h


More information about the cvs-src mailing list