Commit 120b116
maple_tree: reorganize testing to restore module testing
Along the development cycle, the testing code support for module/in-kernel
compiles was removed. Restore this functionality by moving any internal
API tests to the userspace side, as well as threading tests. Fix the
lockdep issues and add a way to reduce memory usage so the tests can
complete with KASAN + memleak detection. Make the tests work on 32 bit
hosts where possible and detect 32 bit hosts in the radix test suite.
[[email protected]: fix module export]
[[email protected]: fix it some more]
[[email protected]: fix compile warnings on 32bit build in check_find()]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Liam R. Howlett <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>1 parent 9a88787 commit 120b116
File tree
10 files changed
+37029
-36743
lines changed- include/linux
- lib
- tools/testing/radix-tree
- generated
10 files changed
+37029
-36743
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
641 | 647 | | |
642 | 648 | | |
643 | 649 | | |
| |||
664 | 670 | | |
665 | 671 | | |
666 | 672 | | |
| 673 | + | |
667 | 674 | | |
668 | 675 | | |
669 | 676 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2241 | 2241 | | |
2242 | 2242 | | |
2243 | 2243 | | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
2244 | 2248 | | |
2245 | 2249 | | |
2246 | 2250 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | 186 | | |
191 | 187 | | |
192 | 188 | | |
| |||
5061 | 5057 | | |
5062 | 5058 | | |
5063 | 5059 | | |
| 5060 | + | |
5064 | 5061 | | |
5065 | 5062 | | |
5066 | 5063 | | |
| |||
5272 | 5269 | | |
5273 | 5270 | | |
5274 | 5271 | | |
| 5272 | + | |
5275 | 5273 | | |
5276 | 5274 | | |
5277 | 5275 | | |
| |||
5335 | 5333 | | |
5336 | 5334 | | |
5337 | 5335 | | |
| 5336 | + | |
5338 | 5337 | | |
5339 | 5338 | | |
5340 | 5339 | | |
| |||
5656 | 5655 | | |
5657 | 5656 | | |
5658 | 5657 | | |
| 5658 | + | |
5659 | 5659 | | |
5660 | 5660 | | |
5661 | 5661 | | |
| |||
5682 | 5682 | | |
5683 | 5683 | | |
5684 | 5684 | | |
| 5685 | + | |
5685 | 5686 | | |
5686 | 5687 | | |
5687 | 5688 | | |
| |||
5699 | 5700 | | |
5700 | 5701 | | |
5701 | 5702 | | |
| 5703 | + | |
5702 | 5704 | | |
5703 | 5705 | | |
5704 | 5706 | | |
| |||
5768 | 5770 | | |
5769 | 5771 | | |
5770 | 5772 | | |
| 5773 | + | |
5771 | 5774 | | |
5772 | 5775 | | |
5773 | 5776 | | |
| |||
5829 | 5832 | | |
5830 | 5833 | | |
5831 | 5834 | | |
| 5835 | + | |
5832 | 5836 | | |
5833 | 5837 | | |
5834 | 5838 | | |
| |||
6009 | 6013 | | |
6010 | 6014 | | |
6011 | 6015 | | |
| 6016 | + | |
6012 | 6017 | | |
6013 | 6018 | | |
6014 | 6019 | | |
| |||
6055 | 6060 | | |
6056 | 6061 | | |
6057 | 6062 | | |
6058 | | - | |
| 6063 | + | |
6059 | 6064 | | |
6060 | 6065 | | |
6061 | 6066 | | |
| |||
6537 | 6542 | | |
6538 | 6543 | | |
6539 | 6544 | | |
6540 | | - | |
6541 | 6545 | | |
| 6546 | + | |
| 6547 | + | |
| 6548 | + | |
| 6549 | + | |
| 6550 | + | |
| 6551 | + | |
| 6552 | + | |
| 6553 | + | |
| 6554 | + | |
| 6555 | + | |
| 6556 | + | |
| 6557 | + | |
| 6558 | + | |
| 6559 | + | |
| 6560 | + | |
| 6561 | + | |
| 6562 | + | |
| 6563 | + | |
| 6564 | + | |
| 6565 | + | |
6542 | 6566 | | |
6543 | 6567 | | |
6544 | 6568 | | |
| |||
6812 | 6836 | | |
6813 | 6837 | | |
6814 | 6838 | | |
| 6839 | + | |
6815 | 6840 | | |
6816 | 6841 | | |
6817 | 6842 | | |
| |||
7122 | 7147 | | |
7123 | 7148 | | |
7124 | 7149 | | |
| 7150 | + | |
7125 | 7151 | | |
7126 | 7152 | | |
0 commit comments