Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2016 12:57:35 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Gleb Smirnoff <glebius@FreeBSD.org>
Cc:        Julien Charbon <jch@freebsd.org>, rrs@FreeBSD.org, net@FreeBSD.org, current@FreeBSD.org
Subject:   Re: panic with tcp timers
Message-ID:  <df07d096-fed6-e098-6ae2-b8333dd59901@selasky.org>
In-Reply-To: <20160620103015.GK1076@FreeBSD.org>
References:  <20160617045319.GE1076@FreeBSD.org> <1f28844b-b4ea-b544-3892-811f2be327b9@freebsd.org> <20160620073917.GI1076@FreeBSD.org> <1d18d0e2-3e42-cb26-928c-2989d0751884@freebsd.org> <20160620095822.GJ1076@FreeBSD.org> <b81aa248-4b97-3162-7636-da655163cdcc@selasky.org> <20160620103015.GK1076@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/20/16 12:30, Gleb Smirnoff wrote:
> Exactly! I am convinced that all callouts should be locked, and non-locked
> one should simply go away, as well as async drain.

I agree about that that, except you still need the async drain, because 
it will prevent freeing the lock protecting the callout, which may still 
be in use after callout_stop().

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?df07d096-fed6-e098-6ae2-b8333dd59901>