aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRebecca Mckeever <remckee0@gmail.com>2022-06-27 17:34:30 -0500
committerMike Rapoport <rppt@linux.ibm.com>2022-06-30 11:55:13 +0300
commit7a1b17aedd2aad3a04a211865f048903bd47fedd (patch)
treee018b9cfc04ed9525814c71fd64363499cc36c18
parent3581602c6a6a6351540085dabd6454695ea3635f (diff)
downloadmemblock-for-kernelci.tar.gz
memblock tests: remove completed TODO itemstesting/verbosefor-kernelci
Remove completed items from TODO list. Signed-off-by: Rebecca Mckeever <remckee0@gmail.com> Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Link: https://lore.kernel.org/r/3f2da4dc9ed0d30cf0fb8041077ed640886152d8.1656368930.git.remckee0@gmail.com
-rw-r--r--tools/testing/memblock/TODO14
1 files changed, 3 insertions, 11 deletions
diff --git a/tools/testing/memblock/TODO b/tools/testing/memblock/TODO
index cd1a30d5acc92c..33044c634ea7f1 100644
--- a/tools/testing/memblock/TODO
+++ b/tools/testing/memblock/TODO
@@ -1,25 +1,17 @@
TODO
=====
-1. Add verbose output (e.g., what is being tested and how many tests cases are
- 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.
+1. Add tests trying to memblock_add() or memblock_reserve() 129th region.
This will trigger memblock_double_array(), make sure it succeeds.
*Important:* These tests require valid memory ranges, use dummy physical
memory block from common.c to implement them. It is also very
likely that the current MEM_SIZE won't be enough for these
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_exact_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