Changeset 266294a9 in mainline for generic/include/mm/slab.h


Ignore:
Timestamp:
2006-02-05T17:01:03Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5c9a08b
Parents:
9b9e385
Message:

Added constructor/destructor calls to SLAB.
Changed allocation of thread_t structure to use SLAB.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/mm/slab.h

    r9b9e385 r266294a9  
    7171        size_t size;      /**< Size of SLAB position - align_up(sizeof(obj)) */
    7272        int (*constructor)(void *obj, int kmflag);
    73         void (*destructor)(void *obj);
     73        int (*destructor)(void *obj);
    7474        int flags;        /**< Flags changing behaviour of cache */
    7575
     
    104104                                        size_t align,
    105105                                        int (*constructor)(void *obj, int kmflag),
    106                                         void (*destructor)(void *obj),
     106                                        int (*destructor)(void *obj),
    107107                                        int flags);
    108108extern void slab_cache_destroy(slab_cache_t *cache);
Note: See TracChangeset for help on using the changeset viewer.