Commit | Line | Data |
---|---|---|
58ffc348 KD |
1 | TODO |
2 | ===== | |
3 | ||
fe833b4e | 4 | 1. Add tests trying to memblock_add() or memblock_reserve() 129th region. |
58ffc348 KD |
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 | ||
fe833b4e | 11 | 2. Add test cases using this functions (implement them for both directions): |
58ffc348 KD |
12 | + memblock_alloc_raw() |
13 | + memblock_alloc_exact_nid_raw() | |
14 | + memblock_alloc_try_nid_raw() | |
15 | ||
fe833b4e | 16 | 3. Add tests for memblock_alloc_node() to check if the correct NUMA node is set |
58ffc348 | 17 | for the new region |