Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2015 19:24:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 204633] If INVARIANTS is enabled, free() may attempt to acquire sleeping lock
Message-ID:  <bug-204633-8-XkRHqLYVdP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204633-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204633-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204633

--- Comment #3 from Mark Johnston <markj@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204633-8-XkRHqLYVdP>