cvs commit: src/sys/vm vm_object.c

From: Alan Cox <alc_at_FreeBSD.org>
Date: Sun, 12 Dec 2004 03:42:58 +0000 (UTC)
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
Received on Sun Dec 12 2004 - 03:42:58 UTC