Skip site navigation (1)Skip section navigation (2)
Date:      20 Jan 2001 20:20:58 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        arch@freebsd.org
Subject:   First vm_zone patch
Message-ID:  <xzpr91ydo85.fsf@flood.ping.uio.no>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~des/software/vm_zone-20010120.diff

Currently, zalloci() and zfreei() always lock the zone, while zalloc()
and zfree() only do so in SMP kernels. This patch removes zalloci()
and zfreei() and makes zalloc() and zfree() always lock the zone. It
also cleans up vm_zone.[ch] a little. I've verified that a patched
kernel builds, but not that it runs.

The next step is to replace the simple_lock with a mutex, and add a
top-level mutex to protect zlist.

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?xzpr91ydo85.fsf>