Changeset c8d0f9e5 in mainline
- Timestamp:
- 2012-05-08T08:34:16Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ddb56be
- Parents:
- 25ebfbd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/slab.c
r25ebfbd rc8d0f9e5 254 254 slab_t *slab) 255 255 { 256 ASSERT(interrupts_disabled()); 257 256 258 if (!slab) 257 259 slab = obj2slab(obj); … … 295 297 NO_TRACE static void *slab_obj_create(slab_cache_t *cache, unsigned int flags) 296 298 { 299 ASSERT(interrupts_disabled()); 300 297 301 spinlock_lock(&cache->slablock); 298 302 … … 355 359 link_t *cur; 356 360 361 ASSERT(interrupts_disabled()); 362 357 363 spinlock_lock(&cache->maglock); 358 364 if (!list_empty(&cache->magazines)) { … … 377 383 slab_magazine_t *mag) 378 384 { 385 ASSERT(interrupts_disabled()); 386 379 387 spinlock_lock(&cache->maglock); 380 388
Note:
See TracChangeset
for help on using the changeset viewer.