Skip to content

Commit 62a56c5

Browse files
huangshaoqinrppt
authored andcommitted
memblock test: Update TODO list
Remove the completed items from TODO list. Signed-off-by: Shaoqin Huang <[email protected]> Signed-off-by: Mike Rapoport <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 5b27dd7 commit 62a56c5

File tree

1 file changed

+2
-9
lines changed
  • tools/testing/memblock

1 file changed

+2
-9
lines changed

tools/testing/memblock/TODO

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
TODO
22
=====
33

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):
125
+ memblock_alloc_raw()
136
+ memblock_alloc_exact_nid_raw()
147
+ memblock_alloc_try_nid_raw()
158

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
1710
for the new region

0 commit comments

Comments
 (0)