Commit fe833b4e authored by Rebecca Mckeever's avatar Rebecca Mckeever Committed by Mike Rapoport

memblock tests: remove completed TODO items

Remove completed items from TODO list.
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/6a3e74fcb51a07e8d9fbbcbe84bdb8aa8b00e843.1656907314.git.remckee0@gmail.com
parent c55b31a1
TODO TODO
===== =====
1. Add verbose output (e.g., what is being tested and how many tests cases are 1. Add tests trying to memblock_add() or memblock_reserve() 129th region.
passing)
2. Add flags to Makefile:
+ verbosity level
+ enable memblock_dbg() messages (i.e. pass "-D CONFIG_DEBUG_MEMORY_INIT"
flag)
3. Add tests trying to memblock_add() or memblock_reserve() 129th region.
This will trigger memblock_double_array(), make sure it succeeds. This will trigger memblock_double_array(), make sure it succeeds.
*Important:* These tests require valid memory ranges, use dummy physical *Important:* These tests require valid memory ranges, use dummy physical
memory block from common.c to implement them. It is also very memory block from common.c to implement them. It is also very
likely that the current MEM_SIZE won't be enough for these likely that the current MEM_SIZE won't be enough for these
test cases. Use realloc to adjust the size accordingly. test cases. Use realloc to adjust the size accordingly.
4. Add test cases using this functions (implement them for both directions): 2. Add test cases using this functions (implement them for both directions):
+ memblock_alloc_raw() + memblock_alloc_raw()
+ memblock_alloc_exact_nid_raw() + memblock_alloc_exact_nid_raw()
+ memblock_alloc_try_nid_raw() + memblock_alloc_try_nid_raw()
5. Add tests for memblock_alloc_node() to check if the correct NUMA node is set 3. Add tests for memblock_alloc_node() to check if the correct NUMA node is set
for the new region for the new region
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment