[PATCH] CFS : Use NSEC_PER_MSEC and NSEC_PER_SEC in kernel/sched.c and kernel/sysctl.c

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>, Paul Menage <menage@...>
Cc: Linux kernel <linux-kernel@...>
Date: Wednesday, October 31, 2007 - 1:08 am

1) hardcoded 1000000000 value is used five times in places where NSEC_PER_SEC 
might be more readable.

2) A conversion from nsec to msec uses the hardcoded 1000000 value, which is a 
candidate for NSEC_PER_MSEC.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] CFS : Use NSEC_PER_MSEC and NSEC_PER_SEC in kernel/s..., Eric Dumazet, (Wed Oct 31, 1:08 am)