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
  • scripts
  • Makefile.include
Find file BlameHistoryPermalink
  • Rebecca Mckeever's avatar
    memblock tests: add simulation of physical memory with multiple NUMA nodes · b338bde5
    Rebecca Mckeever authored Sep 13, 2022
    
    
    Add function setup_numa_memblock() for setting up a memory layout with
    multiple NUMA nodes in a previously allocated dummy physical memory.
    This function can be used in place of setup_memblock() in tests that need
    to simulate a NUMA system.
    
    setup_numa_memblock():
    - allows for setting up a memory layout by specifying the fraction of
      MEM_SIZE in each node
    
    Set CONFIG_NODES_SHIFT to 4 when building with NUMA=1 to allow for up to
    16 NUMA nodes.
    
    Reviewed-by: default avatarDavid Hildenbrand <david@redhat.com>
    Signed-off-by: default avatarRebecca Mckeever <remckee0@gmail.com>
    Signed-off-by: default avatarMike Rapoport <rppt@linux.ibm.com>
    Link: https://lore.kernel.org/r/4566d816a85f009268d4858d1ef06c7571a960f9.1663046060.git.remckee0@gmail.com
    b338bde5
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7