Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2001 22:00:44 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/vm vm_page.c vm_page.h vm_zeroidle.c
Message-ID:  <200108250500.f7P50i784284@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2001/08/24 22:00:44 PDT

  Modified files:
    sys/vm               vm_page.c vm_page.h vm_zeroidle.c 
  Log:
  Implement idle zeroing of pages.  I've been tinkering with this
  on and off since John Dyson left his work-in-progress.
  
  It is off by default for now.  sysctl vm.zeroidle_enable=1 to turn it on.
  
  There are some hacks here to deal with the present lack of preemption - we
  yield after doing a small number of pages since we wont preempt otherwise.
  
  This is basically Matt's algorithm [with hysteresis] with an idle process
  to call it in a similar way it used to be called from the idle loop.
  
  I cleaned up the includes a fair bit here too.
  
  Revision  Changes    Path
  1.173     +2 -1      src/sys/vm/vm_page.c
  1.93      +2 -1      src/sys/vm/vm_page.h
  1.4       +98 -72    src/sys/vm/vm_zeroidle.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?200108250500.f7P50i784284>