Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2000 01:17:09 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Peter Wemm <peter@netplex.com.au>
Cc:        Chuck Paterson <cp@bsdi.com>, John Baldwin <jhb@FreeBSD.ORG>, arch@FreeBSD.ORG, John Polstra <jdp@polstra.com>, Daniel Eischen <eischen@vigrid.com>, Matt Dillon <dillon@earth.backplane.com>, Greg Lehey <grog@lemis.com>
Subject:   Re: Mutexes and semaphores
Message-ID:  <20001004011709.E27736@fw.wintelcom.net>
In-Reply-To: <200010040750.e947oaH19391@netplex.com.au>; from peter@netplex.com.au on Wed, Oct 04, 2000 at 12:50:36AM -0700
References:  <200010040727.e947RpH19302@netplex.com.au> <200010040750.e947oaH19391@netplex.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
* Peter Wemm <peter@netplex.com.au> [001004 00:50] wrote:
> Peter Wemm wrote:
> > Chuck Paterson wrote:
> > > Your right, not freeing these things ever does make things
> > > lots easier.
> > > 
> > > Chuck
> > 
> > In the freebsd case, this is the case.  Zones are never cleaned up, and
> > certainly not unmapped.  zfree() will however cause the first few bytes
> > to be clobbered as they are reused for the freelist.
> 
> Actually, a final version is at:
>   http://people.freebsd.org/~peter/getppid.diff

I'd really prefer not to see gcc inline asm in the code like that,
can we use a macro like 'mb()'? or better yet 'memory_order()' that
way it can be used in a lot of places without worrying about catching
all the changes if they're needed.

Otherwise it's great. :)

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


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?20001004011709.E27736>