File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 1
1
TODO
2
2
=====
3
3
4
- 1. Add verbose output (e.g., what is being tested and how many tests cases are
5
- passing)
6
-
7
- 2. Add flags to Makefile:
8
- + verbosity level
9
- + enable memblock_dbg() messages (i.e. pass "-D CONFIG_DEBUG_MEMORY_INIT"
10
- flag)
11
-
12
- 3. Add tests trying to memblock_add() or memblock_reserve() 129th region.
4
+ 1. Add tests trying to memblock_add() or memblock_reserve() 129th region.
13
5
This will trigger memblock_double_array(), make sure it succeeds.
14
6
*Important:* These tests require valid memory ranges, use dummy physical
15
7
memory block from common.c to implement them. It is also very
16
8
likely that the current MEM_SIZE won't be enough for these
17
9
test cases. Use realloc to adjust the size accordingly.
18
10
19
- 4 . Add test cases using this functions (implement them for both directions):
11
+ 2 . Add test cases using this functions (implement them for both directions):
20
12
+ memblock_alloc_raw()
21
13
+ memblock_alloc_exact_nid_raw()
22
14
+ memblock_alloc_try_nid_raw()
23
15
24
- 5 . Add tests for memblock_alloc_node() to check if the correct NUMA node is set
16
+ 3 . Add tests for memblock_alloc_node() to check if the correct NUMA node is set
25
17
for the new region
You can’t perform that action at this time.
0 commit comments