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
  • tools
  • perf
  • util
  • python-ext-sources
Find file BlameHistoryPermalink
  • Andi Kleen's avatar
    perf affinity: Add infrastructure to save/restore affinity · 267ed5d8
    Andi Kleen authored Nov 20, 2019
    
    
    The kernel perf subsystem has to IPI to the target CPU for many
    operations. On systems with many CPUs and when managing many events the
    overhead can be dominated by lots of IPIs.
    
    An alternative is to set up CPU affinity in the perf tool, then set up
    all the events for that CPU, and then move on to the next CPU.
    
    Add some affinity management infrastructure to enable such a model.
    Used in followon patches.
    
    Committer notes:
    
    Use zfree() in some places, add missing stdbool.h header, some minor
    coding style changes.
    
    Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
    Acked-by: default avatarJiri Olsa <jolsa@kernel.org>
    Link: http://lore.kernel.org/lkml/20191121001522.180827-3-andi@firstfloor.org
    
    
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    267ed5d8
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7