Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • linux-vf linux-vf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-vflinux-vf
  • Repository
Switch branch/tag
  • linux-vf
  • arch
  • arm64
  • include
  • asm
  • cache.h
Find file BlameHistoryPermalink
  • Tirumalesh Chalamarla's avatar
    arm64: Increase the max granular size · 97303480
    Tirumalesh Chalamarla authored Sep 22, 2015 and Catalin Marinas's avatar Catalin Marinas committed Oct 28, 2015
    
    
    Increase the standard cacheline size to avoid having locks in the same
    cacheline.
    
    Cavium's ThunderX core implements cache lines of 128 byte size. With
    current granulare size of 64 bytes (L1_CACHE_SHIFT=6) two locks could
    share the same cache line leading a performance degradation.
    Increasing the size fixes that.
    
    Increasing the size has no negative impact to cache invalidation on
    systems with a smaller cache line. There is an impact on memory usage,
    but that's not too important for arm64 use cases.
    
    Signed-off-by: default avatarTirumalesh Chalamarla <tchalamarla@cavium.com>
    Signed-off-by: default avatarRobert Richter <rrichter@cavium.com>
    Acked-by: default avatarTimur Tabi <timur@codeaurora.org>
    Signed-off-by: Catalin Marinas's avatarCatalin Marinas <catalin.marinas@arm.com>
    97303480