aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2020-11-17 13:19:49 +0000
committerThomas Gleixner <[email protected]>2020-11-19 09:48:29 +0000
commitb996544916429946bf4934c1c01a306d1690972c (patch)
treef2cfc80193fc59e3af20103158b7984bfeef6a5e /fs/proc/array.c
parenttick/sched: Release seqcount before invoking calc_load_global() (diff)
downloadkernel-b996544916429946bf4934c1c01a306d1690972c.tar.gz
kernel-b996544916429946bf4934c1c01a306d1690972c.zip
tick: Get rid of tick_period
The variable tick_period is initialized to NSEC_PER_TICK / HZ during boot and never updated again. If NSEC_PER_TICK is not an integer multiple of HZ this computation is less accurate than TICK_NSEC which has proper rounding in place. Aside of the inaccuracy there is no reason for having this variable at all. It's just a pointless indirection and all usage sites can just use the TICK_NSEC constant. Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions