Skip site navigation (1)Skip section navigation (2)
Date:      22 Jan 2001 05:47:25 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        arch@freebsd.org
Subject:   Second zone allocator patch
Message-ID:  <xzp3decp50i.fsf@flood.ping.uio.no>

next in thread | raw e-mail | index | archive | help
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




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