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
  • moduleloader.h
Find file BlameHistoryPermalink
  • Mike Rapoport (IBM)'s avatar
    mm/execmem, arch: convert remaining overrides of module_alloc to execmem · 223b5e57
    Mike Rapoport (IBM) authored May 05, 2024
    
    
    Extend execmem parameters to accommodate more complex overrides of
    module_alloc() by architectures.
    
    This includes specification of a fallback range required by arm, arm64
    and powerpc, EXECMEM_MODULE_DATA type required by powerpc, support for
    allocation of KASAN shadow required by s390 and x86 and support for
    late initialization of execmem required by arm64.
    
    The core implementation of execmem_alloc() takes care of suppressing
    warnings when the initial allocation fails but there is a fallback range
    defined.
    
    Signed-off-by: default avatarMike Rapoport (IBM) <rppt@kernel.org>
    Acked-by: default avatarWill Deacon <will@kernel.org>
    Acked-by: default avatarSong Liu <song@kernel.org>
    Tested-by: default avatarLiviu Dudau <liviu@dudau.co.uk>
    Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
    223b5e57
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7