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
  • include
  • linux
  • module.h
Find file BlameHistoryPermalink
  • Alan Maguire's avatar
    module, bpf: Store BTF base pointer in struct module · d4e48e3d
    Alan Maguire authored Jun 20, 2024
    
    
    ...as this will allow split BTF modules with a base BTF
    representation (rather than the full vmlinux BTF at time of
    BTF encoding) to resolve their references to kernel types in a
    way that is more resilient to small changes in kernel types.
    
    This will allow modules that are not built every time the kernel
    is to provide more resilient BTF, rather than have it invalidated
    every time BTF ids for core kernel types change.
    
    Fields are ordered to avoid holes in struct module.
    
    Signed-off-by: default avatarAlan Maguire <alan.maguire@oracle.com>
    Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
    Reviewed-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
    Acked-by: default avatarAndrii Nakryiko <andrii@kernel.org>
    Link: https://lore.kernel.org/bpf/20240620091733.1967885-3-alan.maguire@oracle.com
    d4e48e3d
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7