From owner-freebsd-arch Sun Jan 21 20:47:45 2001 Delivered-To: freebsd-arch@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id D529537B401 for ; Sun, 21 Jan 2001 20:47:26 -0800 (PST) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id FAA69487; Mon, 22 Jan 2001 05:47:25 +0100 (CET) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: arch@freebsd.org Subject: Second zone allocator patch From: Dag-Erling Smorgrav Date: 22 Jan 2001 05:47:25 +0100 Message-ID: Lines: 21 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG http://people.freebsd.org/~des/software/vm_zone-20010122.diff This replaces the simplelock in vm_zone with a mutex, and adds a subsystem mutex that must be held when manipulating zlist (which is now an SLIST). Stuff that remains to be done: - use atomic operations for updating the statistics counters. - implement vm_zone_init2() and find the right place to call it from, to remove the need for zinitna(). - make the rest of the VM system thread-safe so we can dispense with the Giant hackery in zinitna() and _zget(). - add a mail reader (accessible through the sysctl interface). DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message