On Thursday, January 16, 2014 7:41:53 pm alf...@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
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to