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
  • events
  • core.c
Find file BlameHistoryPermalink
  • leilei.lin's avatar
    perf/core: Reduce context switch overhead · fdccc3fb
    leilei.lin authored Aug 09, 2017
    
    
    Skip most of the PMU context switching overhead when ctx->nr_events is 0.
    
    50% performance overhead was observed under an extreme testcase.
    
    Signed-off-by: default avatarleilei.lin <leilei.lin@alibaba-inc.com>
    Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: acme@kernel.org
    Cc: alexander.shishkin@linux.intel.com
    Cc: eranian@gmail.com
    Cc: jolsa@redhat.com
    Cc: linxiulei@gmail.com
    Cc: yang_oliver@hotmail.com
    Link: http://lkml.kernel.org/r/20170809002921.69813-1-leilei.lin@alibaba-inc.com
    
    
    [ Rewrote the changelog. ]
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    fdccc3fb
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7