[Bug 204633] If INVARIANTS is enabled, free() may attempt to acquire sleeping lock

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 17 19:24:01 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204633

--- Comment #3 from Mark Johnston <markj at FreeBSD.org> ---
(In reply to Jonathan T. Looney from comment #2)
I think it would be correct and reasonable to assert that
curthread->td_critnest == 0 at the beginning of uma_zalloc_arg() and
uma_zfree_arg(). In most cases, UMA can satisfy allocation and free requests
without acquiring a lock, so the checking currently done by witness is not
consistent.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list