Convert a few more timeout_add() calls

2018-12-19 Thread Claudio Jeker
This is mostly replacing timeout_add calls that use some sort of HZ dependent value to timeout_add_(m)sec(). IFNET_SLOWHZ is only used in one place and could be moved there. In general I think the result is easier to understand. OK? -- :wq Claudio Index: net/if.c

Re: Convert a few more timeout_add() calls

2018-12-19 Thread Alexander Bluhm
On Wed, Dec 19, 2018 at 07:57:11PM +0100, Claudio Jeker wrote: > This is mostly replacing timeout_add calls that use some sort of HZ > dependent value to timeout_add_(m)sec(). IFNET_SLOWHZ is only used in one > place and could be moved there. > In general I think the result is easier to understand.

Re: Convert a few more timeout_add() calls

2018-12-19 Thread Klemens Nanni
On Wed, Dec 19, 2018 at 07:57:11PM +0100, Claudio Jeker wrote: > This is mostly replacing timeout_add calls that use some sort of HZ > dependent value to timeout_add_(m)sec(). IFNET_SLOWHZ is only used in one > place and could be moved there. > In general I think the result is easier to understand.