Date: Sun, 9 Aug 2015 21:42:39 +0300 From: Gleb Smirnoff <glebius@FreeBSD.org> To: Kristof Provost <kp@FreeBSD.org> Cc: Patrick Kelsey <pkelsey@freebsd.org>, freebsd-current@freebsd.org Subject: Re: sysctl -a panic on VIMAGE kernels Message-ID: <20150809184239.GB889@glebius.int.ru> In-Reply-To: <20150809182556.GC48727@vega.codepro.be> References: <B09833EB-ABE0-44BF-A53A-554207B92637@FreeBSD.org> <20150809103635.GA889@glebius.int.ru> <20150809182556.GC48727@vega.codepro.be>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 09, 2015 at 08:25:56PM +0200, Kristof Provost wrote: K> On 2015-08-09 13:36:35 (+0300), Gleb Smirnoff <glebius@FreeBSD.org> wrote: K> > On Sun, Aug 09, 2015 at 12:28:22PM +0200, Kristof Provost wrote: K> > K> The following fixes it for me: K> > K> K> > K> diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c K> > K> index 77d8940..3913ef3 100644 K> > K> --- a/sys/netinet/tcp_reass.c K> > K> +++ b/sys/netinet/tcp_reass.c K> > K> @@ -84,7 +84,7 @@ SYSCTL_INT(_net_inet_tcp_reass, OID_AUTO, maxsegments, CTLFLAG_RDTUN, K> > K> "Global maximum number of TCP Segments in Reassembly Queue"); K> > K> K> > K> static uma_zone_t tcp_reass_zone; K> > K> -SYSCTL_UMA_CUR(_net_inet_tcp_reass, OID_AUTO, cursegments, CTLFLAG_VNET, K> > K> +SYSCTL_UMA_CUR(_net_inet_tcp_reass, OID_AUTO, cursegments, 0, K> > K> &tcp_reass_zone, K> > K> "Global number of TCP Segments currently in Reassembly Queueā€¯); K> > K> > Right, if a variable isn't virtualized, the CTLFLAG_VNET must be removed. K> > K> > Patrick, how is your progress wuth improved reassembly? K> > K> Any opposition to me committing the above patch? It'll at least make us K> stop panic()ing and I don't think it'll make Patrick's life any harder. Of course no objections, please do. -- Totus tuus, Glebius.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150809184239.GB889>