Changeset 8d4f2ae in mainline


Ignore:
Timestamp:
2006-05-11T18:18:14Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5f0c664
Parents:
7242a78e
Message:

On as_area_destroy(), mark the area as partial before unlocking and free its
structure after unlocking.

File:
1 edited

Legend:

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

    r7242a78e r8d4f2ae  
    350350        tlb_shootdown_finalize();
    351351
     352        area->attributes |= AS_AREA_ATTR_PARTIAL;
    352353        spinlock_unlock(&area->lock);
    353354
     
    356357         */
    357358        btree_remove(&AS->as_area_btree, base, NULL);
     359       
     360        free(area);
    358361       
    359362        spinlock_unlock(&AS->lock);
Note: See TracChangeset for help on using the changeset viewer.