答复: [PATCH] time: Introduce jiffies64_to_msecs()

2019-02-27 Thread Li,Rongqing
> -邮件原件- > 发件人: Thomas Gleixner [mailto:t...@linutronix.de] > 发送时间: 2019年2月27日 19:18 > 收件人: Li,Rongqing > 抄送: netfilter-de...@vger.kernel.org; linux-kernel@vger.kernel.org; > sb...@kernel.org; john.stu...@linaro.org > 主题: Re: [PATCH] time: Introduce jiffies64_to_ms

Re: [PATCH] time: Introduce jiffies64_to_msecs()

2019-02-27 Thread Thomas Gleixner
On Wed, 27 Feb 2019, Li RongQing wrote: > there is a similar helper in net/netfilter/nf_tables_api.c, > this maybe become a common request someday. Maybe is not a really good justification for adding that. At least you should provide a patch which replaces the instance in the netfilter code. Tha

[PATCH] time: Introduce jiffies64_to_msecs()

2019-02-27 Thread Li RongQing
there is a similar helper in net/netfilter/nf_tables_api.c, this maybe become a common request someday. and avoid to call div_64 at some condition Signed-off-by: Li RongQing --- include/linux/jiffies.h | 1 + kernel/time/time.c | 10 ++ 2 files changed, 11 insertions(+) diff --gi