Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 13:21:06 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        alfred@freebsd.org
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: misc/185831: bumping maxcpu causes witness to panic at boot
Message-ID:  <201401211321.06530.jhb@freebsd.org>
In-Reply-To: <201401170041.s0H0frLQ086977@freefall.freebsd.org>
References:  <201401170041.s0H0frLQ086977@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, January 16, 2014 7:41:53 pm alfred@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401211321.06530.jhb>