Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2002 15:42:36 -0700
From:      Jonathan Mini <mini@freebsd.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        Jeff Roberson <jroberson@chesapeake.net>, John Baldwin <jhb@freebsd.org>, Perforce Change Reviews <perforce@freebsd.org>, Peter Wemm <peter@wemm.org>, Jeff Roberson <jeff@freebsd.org>
Subject:   Re: PERFORCE change 11120 for review
Message-ID:  <20020519154236.I25907@stylus.haikugeek.com>
In-Reply-To: <Pine.BSF.4.21.0205190135590.64991-100000@InterJet.elischer.org>; from julian@elischer.org on Sun, May 19, 2002 at 01:38:08AM -0700
References:  <20020519000301.K49505-100000@mail.chesapeake.net> <Pine.BSF.4.21.0205190135590.64991-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer [julian@elischer.org] wrote :

> 
> 
> On Sun, 19 May 2002, Jeff Roberson wrote:
> 
> > 
> > On Sat, 18 May 2002, Jonathan Mini wrote:
> > 
> > > Jeff Roberson [jroberson@chesapeake.net] wrote :
> > >
> > > > The fini call happens w/o the zone lock being held.
> > >
> > > In that case, we haven't any problems with the fini call, except that it
> > > might be called from the page daemon. Is that a problem?
> > >
> > In all likelyhood it will *only* be called from the page daemon.
> > 
> 
> Are you saying that discarding excess items occurs 'offline'
> and is done by the paging daemon?
> i.e. the dissassociation of the thread and its stack
> doesn't happen in teh calling coext of the uma_zfree(). (?)
> (no source here)
> 

That's correct. The thread and its stack aren't actually deallocated until
UMA frees the slab that the thread is on. UMA does this on a high/low water
system, and will also allocate new slabs before all available threads are
allocated.

-- 
Jonathan Mini <mini@freebsd.org>
http://www.haikugeek.com

"He who is not aware of his ignorance will be only misled by his knowledge."
                                                        -- Richard Whatley

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




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