misc/185831: bumping maxcpu causes witness to panic at boot
John Baldwin
jhb at freebsd.org
Tue Jan 21 19:03:16 UTC 2014
On Thursday, January 16, 2014 7:41:53 pm alfred at freebsd.org wrote:
> Synopsis: bumping maxcpu causes witness to panic at boot
>
> Responsible-Changed-From-To: freebsd-bugs->jhb
> Responsible-Changed-By: alfred
> Responsible-Changed-When: Fri Jan 17 00:41:11 UTC 2014
> Responsible-Changed-Why:
> John, can I get a review please?
WITNESS_COUNT should not need to change. If changing MAXCPU changes the
number of witness structures in use, that is a bug (it means locks are named
incorrectly). We could certainly change exhaustion of PENDLIST to not be a
panic but to disable witness instead and possibly make PENDLIST depend on
MAXCPU, but WITNESS_COUNT should not be a function of MAXCPU.
--
John Baldwin
More information about the freebsd-bugs
mailing list