Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2002 16:10:57 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Jeff Roberson <jroberson@chesapeake.net>
Cc:        Poul-Henning Kamp <phk@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys malloc.h src/sys/kern kern_malloc.c
Message-ID:  <20021107161057.GA3476@walton.maths.tcd.ie>
In-Reply-To: <20021106141427.J1374-100000@mail.chesapeake.net>
References:  <200211011858.gA1IwDrc035364@repoman.freebsd.org> <20021106141427.J1374-100000@mail.chesapeake.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 06, 2002 at 02:16:00PM -0500, Jeff Roberson wrote:
> I would like to add a 'flush' callback to uma.  So each zone could get a
> callback when the system is low on memory and it could reduce it's memory
> footprint.  This would be very effective for something like the vnode
> cache or the directory cache, etc.
> 
> What do you think of this?  It would be trivial to add.

Something like this would be useful for dirhash to let it know when
it should give memory back. With some tuning we should be able to
dirhash_maxmem if we got feedback from uma.

	David.

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?20021107161057.GA3476>