From owner-cvs-all Fri Aug 24 22: 0:52 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C92C637B401; Fri, 24 Aug 2001 22:00:44 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7P50i784284; Fri, 24 Aug 2001 22:00:44 -0700 (PDT) (envelope-from peter) Message-Id: <200108250500.f7P50i784284@freefall.freebsd.org> From: Peter Wemm Date: Fri, 24 Aug 2001 22:00:44 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_page.c vm_page.h vm_zeroidle.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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