Date: Mon, 22 Jan 2001 19:26:55 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Dag-Erling Smorgrav <des@ofug.org> Cc: arch@FreeBSD.ORG Subject: Re: Second zone allocator patch Message-ID: <Pine.BSF.4.21.0101221903190.27567-100000@besplex.bde.org> In-Reply-To: <xzp3decp50i.fsf@flood.ping.uio.no>
next in thread | previous 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). The simplelock was a spinlock, so changing it to a lock that can sleep changes the semantics. This seems to be a bug in the ZONE_INTERRUPT case -- note how the ZONE_INTERRUPT case of _zget() avoids locking stuff while the !ZONE_INTERRUPT case uses it. > - add a mail reader (accessible through the sysctl interface). Hehe. sysctl_vm_zone() reminds me too much of Linux procfs where the kernel wastes a lot of time formatting strings. It doesn't even provide any features that aren't implemented in userland like it did originally, since dillon implemented vmstat -z (except vmstat -z leaves out some details). Bruce 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?Pine.BSF.4.21.0101221903190.27567-100000>