cvs commit: src/sys/vm vm_object.c

Alan Cox alc at FreeBSD.org
Sat Dec 11 19:42:59 PST 2004


alc         2004-12-12 03:42:58 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/vm               vm_object.c 
  Log:
  MFC revision 1.332
   Move the acquisition and release of the lock on the object at the head of
   the shadow chain outside of the loop in vm_object_madvise(), reducing the
   number of times that this lock is acquired and released.
  
  MFC revision 1.336
   Eliminate an unnecessary atomic operation.  Articulate the rationale in
   a comment.
  
  Revision   Changes    Path
  1.331.2.1  +23 -8     src/sys/vm/vm_object.c


More information about the cvs-all mailing list