Changeset ad45bde9 in mainline for generic/src/mm/slab.c


Ignore:
Timestamp:
2006-04-23T14:17:44Z (19 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1f41004e
Parents:
6ecc8bce
Message:

Fix pointers output format.
Fix format of slab and zones tables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/mm/slab.c

    r6ecc8bce rad45bde9  
    790790        ipl = interrupts_disable();
    791791        spinlock_lock(&slab_cache_lock);
    792         printf("SLAB name\tOsize\tPages\tObj/pg\tSlabs\tCached\tAllocobjs\tCtl\n");
     792        printf("SLAB name\t  Osize\t  Pages\t Obj/pg\t  Slabs\t Cached\tAllocobjs\tCtl\n");
    793793        for (cur = slab_cache_list.next;cur!=&slab_cache_list; cur=cur->next) {
    794794                cache = list_get_instance(cur, slab_cache_t, link);
    795                 printf("%s\t%zd\t%zd\t%zd\t%zd\t%zd\t%zd\t\t%s\n", cache->name, cache->size,
     795                printf("%s\t%7zd\t%7zd\t%7zd\t%7zd\t%7zd\t%7zd\t\t%s\n", cache->name, cache->size,
    796796                       (1 << cache->order), cache->objects,
    797797                       atomic_get(&cache->allocated_slabs),
Note: See TracChangeset for help on using the changeset viewer.