Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 1999 22:36:01 -0800 (PST)
From:      Alan Cox <alc@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/vm vm_object.c
Message-ID:  <199903140636.WAA36794@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
alc         1999/03/13 22:36:01 PST

  Modified files:
    sys/vm               vm_object.c 
  Log:
  Correct two optimization errors in vm_object_page_remove:
  
  1. The size of vm_object::memq is vm_object::resident_page_count,
  not vm_object::size.
  
  2. The "size > 4" test sometimes results in the traversal of a ~1000 page
  memq in order to locate ~10 pages.
  
  Revision  Changes    Path
  1.153     +4 -3      src/sys/vm/vm_object.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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