Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 2004 03:42:58 +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:  <200412120342.iBC3gwHD008268@repoman.freebsd.org>

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



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