Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 20:15:59 +0200
From:      Peter Pentchev <roam@orbitel.bg>
To:        Dag-Erling Smorgrav <des@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/vm vm_zone.c vm_zone.h
Message-ID:  <20010122201559.B11979@ringworld.oblivion.bg>
In-Reply-To: <200101220701.f0M71pv82114@freefall.freebsd.org>; from des@FreeBSD.org on Sun, Jan 21, 2001 at 11:01:51PM -0800
References:  <200101220701.f0M71pv82114@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Is this the commit that broke usr.bin/vmstat/vmstat.c, in the dozmem()
function?  It would seem vmstat is still looking for the znext pointer :(

G'luck,
Peter

-- 
If this sentence didn't exist, somebody would have invented it.

On Sun, Jan 21, 2001 at 11:01:51PM -0800, Dag-Erling Smorgrav wrote:
> des         2001/01/21 23:01:51 PST
> 
>   Modified files:
>     sys/vm               vm_zone.c vm_zone.h 
>   Log:
>   Give this code a major facelift:
>   
>    - replace the simplelock in struct vm_zone with a mutex.
>   
>    - use a proper SLIST rather than a hand-rolled job for the zone list.
>   
>    - add a subsystem lock that protects the zone list and the statistics
>      counters.
>   
>    - merge _zalloc() into zalloc() and _zfree() into zfree(), and
>      move them below _zget() so there's no need for a prototype.
>   
>    - add two initialization functions: one which initializes the
>      subsystem mutex and the zone list, and one that currently doesn't
>      do anything.
>   
>    - zap zerror(); use KASSERTs instead.
>   
>    - dike out half of sysctl_vm_zone(), which was mostly trying to do
>      manually what the snprintf() call could do better.
>   
>   Reviewed by:	jhb, jasone
>   
>   Revision  Changes    Path
>   1.38      +151 -222  src/sys/vm/vm_zone.c
>   1.16      +16 -13    src/sys/vm/vm_zone.h


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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