From owner-cvs-sys Fri Sep 27 20:42:40 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA02095 for cvs-sys-outgoing; Fri, 27 Sep 1996 20:42:40 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA02014; Fri, 27 Sep 1996 20:42:33 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.7.5/8.6.9) id WAA03366; Fri, 27 Sep 1996 22:42:30 -0500 (EST) From: "John S. Dyson" Message-Id: <199609280342.WAA03366@dyson.iquest.net> Subject: Re: cvs commit: src/sys/vm vm_object.c vm_object.h vm_page.c vm_pageout.c To: dyson@freefall.freebsd.org (John Dyson) Date: Fri, 27 Sep 1996 22:42:30 -0500 (EST) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org In-Reply-To: <199609280333.UAA26434@freefall.freebsd.org> from "John Dyson" at Sep 27, 96 08:33:53 pm Reply-To: dyson@freebsd.org X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > dyson 96/09/27 20:33:51 > > Modified: sys/vm vm_object.c vm_object.h vm_page.c vm_pageout.c > Log: > > > Revision Changes Path > 1.82 +3 -2 src/sys/vm/vm_object.c > 1.31 +2 -1 src/sys/vm/vm_object.h > 1.65 +103 -78 src/sys/vm/vm_page.c > 1.86 +3 -3 src/sys/vm/vm_pageout.c > > Missing commit mail: Fix some redundancy in the page coloring code. Also, support contiguous allocation of memory in objects (if the system doesn't have to do anything special), if all else is equal. Note on page coloring design: Our page coloring is a little more sophisticated than the simple schemes put forth in some technical papers. Firstly, the buckets for the base page in an object are hashed based upon an offset that is incremented by a prime number for every object. Additionally, instead of just punting on a non-existant page for a desired color (either choosing a random color, or denying the request for the page), we pick the "next best" color for a given page. This allows for a soft degradation. We also choose a physically contiguous page if it is convienient. It is likely to be advantageous to choose a special range of colors for shared libs, but I haven't come up with a reasonable partitioning of colors yet. John