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
  • tools
  • testing
  • memblock
  • tests
  • basic_api.c
Find file BlameHistoryPermalink
  • Karolina Drobnik's avatar
    memblock tests: Add simulation of physical memory · 284d950d
    Karolina Drobnik authored Feb 28, 2022
    
    
    Allocation functions that return virtual addresses (with an exception
    of _raw variant) clear the allocated memory after reserving it. This
    requires valid memory ranges in memblock.memory.
    
    Introduce memory_block variable to store memory that can be registered
    with memblock data structure. Move assert.h and size.h includes to common.h
    to share them between the test files.
    
    Signed-off-by: default avatarKarolina Drobnik <karolinadrobnik@gmail.com>
    Signed-off-by: default avatarMike Rapoport <rppt@linux.ibm.com>
    Link: https://lore.kernel.org/r/dce115503c74a6936c44694b00014658a1bb6522.1646055639.git.karolinadrobnik@gmail.com
    284d950d
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7