summaryrefslogtreecommitdiffstats
path: root/lib/test_ida.c
Commit message (Collapse)AuthorAgeFilesLines
* test_ida: Fix lockdep warningMatthew Wilcox2018-10-151-2/+2
| | | | | | | | | The IDA was declared on the stack instead of statically, so lockdep triggered a warning that it was improperly initialised. Reported-by: 0day bot Tested-by: Rong Chen <rong.a.chen@intel.com> Signed-off-by: Matthew Wilcox <willy@infradead.org>
* test_ida: check_ida_destroy and check_ida_allocMatthew Wilcox2018-08-211-0/+54
| | | | | | | Move these tests from the userspace test-suite to the kernel test-suite. Also convert check_ida_random to the new API. Signed-off-by: Matthew Wilcox <willy@infradead.org>
* test_ida: Convert check_ida_conv to new APIMatthew Wilcox2018-08-211-0/+30
| | | | | | | | Move as much as possible to kernel space; leave the parts in user space that rely on checking memory allocation failures to detect the transition between an exceptional entry and a bitmap. Signed-off-by: Matthew Wilcox <willy@infradead.org>
* test_ida: Move ida_check_maxMatthew Wilcox2018-08-211-0/+23
| | | | | | Convert to new API and move to kernel space. Signed-off-by: Matthew Wilcox <willy@infradead.org>
* test_ida: Move ida_check_leafMatthew Wilcox2018-08-211-0/+25
| | | | | | | Convert to new API and move to kernel space. Take the opportunity to test the situation a little more thoroughly (ie at different offsets). Signed-off-by: Matthew Wilcox <willy@infradead.org>
* ida: Start new test_ida moduleMatthew Wilcox2018-08-211-0/+45
Start transitioning the IDA tests into kernel space. Framework heavily cribbed from test_xarray.c. Signed-off-by: Matthew Wilcox <willy@infradead.org>