Changeset b80156c in rtems


Ignore:
Timestamp:
May 17, 2016, 1:15:17 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
dab902d5
Parents:
ee710ef
git-author:
Sebastian Huber <sebastian.huber@…> (05/17/16 13:15:17)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/20/16 05:49:41)
Message:

score: Avoid Giant _Objects_Extend_information()

Avoid Giant lock for _Objects_Extend_information().

Update #2280.
Update #2555.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/objectextendinformation.c

    ree710ef rb80156c  
    114114   */
    115115  if ( do_extend ) {
    116     ISR_Level         level;
     116    ISR_lock_Context  lock_context;
    117117    void            **object_blocks;
    118118    uint32_t         *inactive_per_block;
     
    226226    }
    227227
    228     _Thread_Disable_dispatch();
    229     _ISR_Disable( level );
     228    /* FIXME: https://devel.rtems.org/ticket/2280 */
     229    _ISR_lock_ISR_disable( &lock_context );
    230230
    231231    old_tables = information->object_blocks;
     
    242242      );
    243243
    244     _ISR_Enable( level );
    245     _Thread_Enable_dispatch();
     244    _ISR_lock_ISR_enable( &lock_context );
    246245
    247246    _Workspace_Free( old_tables );
Note: See TracChangeset for help on using the changeset viewer.