linux-mainline/tools/testing/memblock/tests
Claudio Migliorelli b842f4f558 Add tests for memblock_alloc_node()
This test is aimed at verifying the memblock_alloc_node() to work as
expected, so setting the correct NUMA node for the new allocated
region. The memblock_alloc_node() is called directly without using any
stub. The core check is between the requested NUMA node and the `nid`
field inside the memblock_region structure. These two are supposed to
be equal for the test to succeed.

Signed-off-by: Claudio Migliorelli <claudio.migliorelli@mail.polimi.it>
Link: https://lore.kernel.org/r/ea5e938e-6b74-b188-af59-4b94b18bc0@mail.polimi.it
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
2023-05-24 11:56:30 +03:00
..
alloc_api.c memblock_tests: move variable declarations to single block 2022-09-04 13:50:35 +03:00
alloc_api.h memblock tests: Add memblock_alloc tests for top down 2022-03-09 15:53:18 +02:00
alloc_exact_nid_api.c memblock tests: add generic NUMA tests for memblock_alloc_exact_nid_raw 2022-11-08 09:50:24 +02:00
alloc_exact_nid_api.h memblock tests: add top-down NUMA tests for memblock_alloc_exact_nid_raw 2022-11-08 09:50:24 +02:00
alloc_helpers_api.c memblock_tests: move variable declarations to single block 2022-09-04 13:50:35 +03:00
alloc_helpers_api.h memblock tests: Add memblock_alloc_from tests for top down 2022-03-09 15:54:03 +02:00
alloc_nid_api.c Add tests for memblock_alloc_node() 2023-05-24 11:56:30 +03:00
alloc_nid_api.h memblock tests: introduce range tests for memblock_alloc_exact_nid_raw 2022-11-08 09:50:24 +02:00
basic_api.c memblock test: Add test to memblock_reserve() 129th region 2022-10-31 10:15:00 +02:00
basic_api.h memblock tests: Add simulation of physical memory 2022-03-09 15:18:57 +02:00
common.c memblock test: Add test to memblock_add() 129th region 2022-10-31 10:15:00 +02:00
common.h memblock tests: introduce range tests for memblock_alloc_exact_nid_raw 2022-11-08 09:50:24 +02:00