Changes in kernel/test/mm/slab2.c [6eef3c4:a000878c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/mm/slab2.c
r6eef3c4 ra000878c 52 52 void *olddata1 = NULL, *olddata2 = NULL; 53 53 54 cache1 = slab_cache_create(" test_cache1", ITEM_SIZE, 0, NULL, NULL, 0);55 cache2 = slab_cache_create(" test_cache2", ITEM_SIZE, 0, NULL, NULL, 0);54 cache1 = slab_cache_create("cache1_tst", ITEM_SIZE, 0, NULL, NULL, 0); 55 cache2 = slab_cache_create("cache2_tst", ITEM_SIZE, 0, NULL, NULL, 0); 56 56 57 57 TPRINTF("Allocating..."); … … 210 210 thr_cache = slab_cache_create("thread_cache", size, 0, NULL, NULL, 0); 211 211 semaphore_initialize(&thr_sem,0); 212 for (i = 0; i < THREADS; i++) { 213 if (!(t = thread_create(slabtest, NULL, TASK, THREAD_FLAG_NONE, "slabtest"))) {212 for (i = 0; i < THREADS; i++) { 213 if (!(t = thread_create(slabtest, NULL, TASK, 0, "slabtest", false))) { 214 214 TPRINTF("Could not create thread %d\n", i); 215 215 } else
Note:
See TracChangeset
for help on using the changeset viewer.