]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When INVARIANTS is on and we're in uma_zalloc_free(), we need to make
authorBosko Milekic <bmilekic@FreeBSD.org>
Sat, 2 Aug 2003 22:40:27 +0000 (22:40 +0000)
committerBosko Milekic <bmilekic@FreeBSD.org>
Sat, 2 Aug 2003 22:40:27 +0000 (22:40 +0000)
commit48bf87258fe9ec982cf7247c127fc14ddcd0bb43
tree14e5825c3e2a6af3411ec32969fb56399be1e1b5
parent3664d35cd5d2f4da8410fe38a9de92f8ea46be85
When INVARIANTS is on and we're in uma_zalloc_free(), we need to make
sure that uma_dbg_free() is called if we're about to call
uma_zfree_internal() but we're asking it to skip the dtor and
uma_dbg_free() call itself.  So, if we're about to call
uma_zfree_internal() from uma_zfree_arg() and skip == 1, call
uma_dbg_free() ourselves.
sys/vm/uma_core.c