uma_zcreate: additional arg for uminit/fini

Andriy Gapon avg at icyb.net.ua
Sun Aug 22 20:20:05 UTC 2010


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


More information about the freebsd-hackers mailing list