Ignore:
Timestamp:
Aug 7, 2015, 5:42:07 PM (9 years ago)
Author:
guerin
Message:

kernel: add fbf_cma release, call it on task kill

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_kernel/ctx_handler.c

    r697 r700  
    6060        _sys_nic_release( 0 );
    6161        psched->context[ltid][CTX_NIC_TX_ID] = -1;
     62    }
     63
     64    // release private FBF_CMA channel if required
     65    if ( psched->context[ltid][CTX_CMA_FB_ID] < NB_CMA_CHANNELS )
     66    {
     67        _sys_fbf_cma_release();
     68        psched->context[ltid][CTX_CMA_FB_ID] = -1;
    6269    }
    6370
Note: See TracChangeset for help on using the changeset viewer.