Changeset f97f1e51 in mainline for kernel/test/mm/slab2.c


Ignore:
Timestamp:
2012-06-20T11:45:35Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
abfc9f3
Parents:
22cec678
Message:

unify slab cache naming scheme (according to the type name)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/mm/slab2.c

    r22cec678 rf97f1e51  
    5252        void *olddata1 = NULL, *olddata2 = NULL;
    5353       
    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);
     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);
    5656       
    5757        TPRINTF("Allocating...");
     
    210210        thr_cache = slab_cache_create("thread_cache", size, 0, NULL, NULL, 0);
    211211        semaphore_initialize(&thr_sem,0);
    212         for (i = 0; i < THREADS; i++) { 
     212        for (i = 0; i < THREADS; i++) {
    213213                if (!(t = thread_create(slabtest, NULL, TASK, 0, "slabtest", false))) {
    214214                        TPRINTF("Could not create thread %d\n", i);
Note: See TracChangeset for help on using the changeset viewer.