cvs commit: src/sys/vm vm_object.c

Alan Cox alc at FreeBSD.org
Tue Mar 29 21:40:03 PST 2005


alc         2005-03-30 05:40:02 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               vm_object.c 
  Log:
  Eliminate (now) unnecessary acquisition and release of the global page
  queues lock in vm_object_backing_scan().  Updates to the page's PG_BUSY
  flag and busy field are synchronized by the containing object's lock.
  
  Testing the page's hold_count and wire_count in vm_object_backing_scan()'s
  OBSC_COLLAPSE_NOWAIT case is unnecessary.  There is no reason why the held
  or wired pages cannot be migrated to the shadow object.
  
  Reviewed by: tegge
  
  Revision  Changes    Path
  1.347     +1 -5      src/sys/vm/vm_object.c


More information about the cvs-src mailing list