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
  • trace
  • ring_buffer.c
Find file BlameHistoryPermalink
  • Vincent Donnefort's avatar
    ring-buffer: Align meta-page to sub-buffers for improved TLB usage · eb2dcde9
    Vincent Donnefort authored Jun 28, 2024
    Previously, the mapped ring-buffer layout caused misalignment between
    the meta-page and sub-buffers when the sub-buffer size was not a
    multiple of PAGE_SIZE. This prevented hardware with larger TLB entries
    from utilizing them effectively.
    
    Add a padding with the zero-page between the meta-page and sub-buffers.
    Also update the ring-buffer map_test to verify that padding.
    
    Link: https://lore.kernel.org/20240628104611.1443542-1-vdonnefort@google.com
    
    
    Signed-off-by: default avatarVincent Donnefort <vdonnefort@google.com>
    Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
    eb2dcde9
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7