Changeset ccb426c in mainline for kernel/generic/src/mm/slab.c


Ignore:
Timestamp:
2010-06-24T09:56:58Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
549012c
Parents:
851f33a
Message:

improve other kernel printouts

File:
1 edited

Legend:

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

    r851f33a rccb426c  
    829829void slab_print_list(void)
    830830{
    831         printf("slab name        size     pages  obj/pg   slabs  cached allocated"
    832             " ctl\n");
    833         printf("---------------- -------- ------ -------- ------ ------ ---------"
    834             " ---\n");
     831        printf("[slab name       ] [size  ] [pages ] [obj/pg] [slabs ]"
     832            " [cached] [alloc ] [ctl]\n");
    835833       
    836834        size_t skip = 0;
     
    887885                irq_spinlock_unlock(&slab_cache_lock, true);
    888886               
    889                 printf("%-16s %8" PRIs " %6u %8" PRIs " %6ld %6ld %9ld %-3s\n",
     887                printf("%-18s %8" PRIs " %8u %8" PRIs " %8ld %8ld %8ld %-5s\n",
    890888                    name, size, (1 << order), objects, allocated_slabs,
    891889                    cached_objs, allocated_objs,
Note: See TracChangeset for help on using the changeset viewer.