kernel/lib/test_meminit.c
.. .. @@ -86,7 +86,7 @@ 86 86 int failures = 0, num_tests = 0; 87 87 int i; 88 88 89 - for (i = 0; i < 10; i++)89 + for (i = 0; i < MAX_ORDER; i++)90 90 num_tests += do_alloc_pages_order(i, &failures); 91 91 92 92 REPORT_FAILURES_IN_FN(); .. .. @@ -337,6 +337,7 @@ 337 337 if (num) 338 338 kmem_cache_free_bulk(c, num, objects); 339 339 } 340 + kmem_cache_destroy(c);340 341 *total_failures += fail; 341 342 return 1; 342 343 }