Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

memblock test: Update TODO list

Remove the completed items from TODO list.

Signed-off-by: Shaoqin Huang <shaoqin.huang@intel.com>
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Link: https://lore.kernel.org/r/20221011062128.49359-4-shaoqin.huang@intel.com

authored by

Shaoqin Huang and committed by
Mike Rapoport
62a56c54 5b27dd79

+2 -9
+2 -9
tools/testing/memblock/TODO
··· 1 1 TODO 2 2 ===== 3 3 4 - 1. Add tests trying to memblock_add() or memblock_reserve() 129th region. 5 - This will trigger memblock_double_array(), make sure it succeeds. 6 - *Important:* These tests require valid memory ranges, use dummy physical 7 - memory block from common.c to implement them. It is also very 8 - likely that the current MEM_SIZE won't be enough for these 9 - test cases. Use realloc to adjust the size accordingly. 10 - 11 - 2. Add test cases using this functions (implement them for both directions): 4 + 1. Add test cases using this functions (implement them for both directions): 12 5 + memblock_alloc_raw() 13 6 + memblock_alloc_exact_nid_raw() 14 7 + memblock_alloc_try_nid_raw() 15 8 16 - 3. Add tests for memblock_alloc_node() to check if the correct NUMA node is set 9 + 2. Add tests for memblock_alloc_node() to check if the correct NUMA node is set 17 10 for the new region