Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2005 05:40:02 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/vm vm_object.c
Message-ID:  <200503300540.j2U5e2kF005686@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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