Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 2015 15:59:00 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Randall Stewart <rrs@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r290664 - in head: share/man/man9 sys/kern sys/sys
Message-ID:  <56420634.5060704@selasky.org>
In-Reply-To: <201511101449.tAAEnXIi065747@repo.freebsd.org>
References:  <201511101449.tAAEnXIi065747@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/10/15 15:49, Randall Stewart wrote:
> +#define callout_async_drain(c, d)					\
> +    _callout_stop_safe(c, 0, d)

Hi,

Like commented in D4076, I think the callout_async_drain() function 
should take a second void pointer argument, which is passed to the 
drain function, instead of re-using the pointer argument passed to 
callout_reset(), because that will make many to one, N:1, asynchronous 
drain possible.

--HPS



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