Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • kernel
  • sysctl.c
Find file BlameHistoryPermalink
  • Eric Dumazet's avatar
    sched: cleanup, use NSEC_PER_MSEC and NSEC_PER_SEC · d6322faf
    Eric Dumazet authored Nov 09, 2007
    
    
    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.
    
    no code changed:
    
        text    data     bss     dec     hex filename
       44359    3326      36   47721    ba69 sched.o.before
       44359    3326      36   47721    ba69 sched.o.after
    
    Signed-off-by: default avatarEric Dumazet <dada1@cosmosbay.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    d6322faf
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7