Date: Tue, 30 Apr 2002 11:48:17 -0400 (EDT) From: "Andrew R. Reiter" <arr@FreeBSD.org> To: Jeroen Ruigrok/asmodai <asmodai@wxs.nl> Cc: "Andrew R. Reiter" <arr@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, jeff@FreeBSD.org Subject: Re: cvs commit: src/share/man/man9 zone.9 Message-ID: <Pine.NEB.3.96L.1020430114311.52854E-100000@fledge.watson.org> In-Reply-To: <20020430152704.GH66061@daemon.ninth-circle.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 30 Apr 2002, Jeroen Ruigrok/asmodai wrote: :> :>You can also pass M_ZERO. <SNIPPED BY ARR> : :So feel free to elaborate, but I still hold to my idea that it was not as :intended and should be tested against. From uma.h: /* * Allocates an item out of a zone * * Arguments: * zone The zone we are allocating from * arg This data is passed to the ctor function * flags See sys/malloc.h for available flags. * * Returns: * A non null pointer to an initialized element from the zone is * garanteed if the wait flag is M_WAITOK, otherwise a null pointer may be * returned if the zone is empty or the ctor failed. */ void *uma_zalloc_arg(uma_zone_t zone, void *arg, int flags); /* * Allocates an item out of a zone without supplying an argument * * This is just a wrapper for uma_zalloc_arg for convenience. * */ static __inline void *uma_zalloc(uma_zone_t zone, int flags); ... -- Andrew R. Reiter arr@watson.org arr@FreeBSD.org 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?Pine.NEB.3.96L.1020430114311.52854E-100000>