Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2010 16:21:19 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/vm vm_object.c
Message-ID:  <201005201621.o4KGLZI7048856@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
alc         2010-05-20 16:21:19 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/vm               vm_object.c 
  Log:
  SVN rev 208352 on 2010-05-20 16:21:19Z by alc
  
  MFC r207306
    Change vm_object_madvise() so that it checks whether the page is invalid
    or unmanaged before acquiring the page queues lock.  Neither of these
    tests require that lock.  Moreover, a better way of testing if the page
    is unmanaged is to test the type of vm object.  This avoids a pointless
    vm_page_lookup().
  
  Revision   Changes    Path
  1.408.2.4  +6 -10     src/sys/vm/vm_object.c



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