Date: Sun, 22 Aug 2010 23:19:56 +0300 From: Andriy Gapon <avg@icyb.net.ua> To: freebsd-hackers@FreeBSD.org Cc: Jeff Roberson <jeff@FreeBSD.org>, "Robert N. M. Watson" <rwatson@FreeBSD.org> Subject: uma_zcreate: additional arg for uminit/fini Message-ID: <4C71866C.10803@icyb.net.ua>
next in thread | raw e-mail | index | archive | help
What do you think about adding an argument to uma_zcreate that would be passed on to uminit/fini as an additional parameter? Perhaps (probably?) to dtor/ctor. The idea is to provide additional context to uminit/fini. One immediate use is more efficient compatibility code for OpenSolaris kmem_cache: http://docs.sun.com/app/docs/doc/816-5180/kmem-cache-create-9f?a=view -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C71866C.10803>