Changeset 428aabf in mainline for generic/include/mm/slab.h


Ignore:
Timestamp:
2006-02-04T15:01:56Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
55ab0f1
Parents:
10e16a7
Message:

Added more granular locking to slab allocator and thus fix
hopefully last race condition.

File:
1 edited

Legend:

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

    r10e16a7 r428aabf  
    6767        char *name;
    6868
    69         SPINLOCK_DECLARE(lock);
    7069        link_t link;
    7170        /* Configuration */
     
    8786        link_t full_slabs;     /**< List of full slabs */
    8887        link_t partial_slabs;  /**< List of partial slabs */
     88        SPINLOCK_DECLARE(slablock);
    8989        /* Magazines  */
    9090        link_t magazines;      /**< List o full magazines */
     91        SPINLOCK_DECLARE(maglock);
    9192
    9293        /** CPU cache */
Note: See TracChangeset for help on using the changeset viewer.