svn commit: r290664 - in head: share/man/man9 sys/kern sys/sys

Randall Stewart rrs at netflix.com
Tue Nov 10 15:03:32 UTC 2015


And I disagree here Hans

You don’t need that and it just adds more into the
callout system that is not needed.

R
On Nov 10, 2015, at 9:59 AM, Hans Petter Selasky <hps at selasky.org> wrote:

> 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

--------
Randall Stewart
rrs at netflix.com
803-317-4952







More information about the svn-src-all mailing list