-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'memblock-v5.20-rc1' of git://git.kernel.org/pub/scm/linux/…
…kernel/git/rppt/memblock Pull memblock updates from Mike Rapoport: - An optimization in memblock_add_range() to reduce array traversals - Improvements to the memblock test suite * tag 'memblock-v5.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock: memblock test: Modify the obsolete description in README memblock tests: fix compilation errors memblock tests: change build options to run-time options memblock tests: remove completed TODO items memblock tests: set memblock_debug to enable memblock_dbg() messages memblock tests: add verbose output to memblock tests memblock tests: Makefile: add arguments to control verbosity memblock: avoid some repeat when add new range
- Loading branch information
Showing
14 changed files
with
920 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.