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
  • module
  • debug_kmemleak.c
Find file BlameHistoryPermalink
  • Vincent Donnefort's avatar
    module: Refine kmemleak scanned areas · b319cea8
    Vincent Donnefort authored Sep 10, 2024
    commit ac3b4328
    
     ("module: replace module_layout with module_memory")
    introduced a set of memory regions for the module layout sharing the
    same attributes. However, it didn't update the kmemleak scanned areas
    which intended to limit kmemleak scan to sections containing writable
    data. This means sections such as .text and .rodata are scanned by
    kmemleak.
    
    Refine the scanned areas for modules by limiting it to MOD_TEXT and
    MOD_INIT_TEXT mod_mem regions.
    
    CC: Song Liu <song@kernel.org>
    Reviewed-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
    Signed-off-by: default avatarVincent Donnefort <vdonnefort@google.com>
    Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
    b319cea8
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7