Changeset 2e2bfa0 in rtems


Ignore:
Timestamp:
Jul 1, 2002, 10:37:58 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
3cf5a99
Parents:
9fbe22cc
Message:

2002-07-01 Joel Sherrill <joel@…>

  • Mega patch merge to change the format of the object IDs to loosen the dependency between the SCORE and the various APIs. There was considerable work to simplify the object name management and it appears that the name_table field is no longer needed. This patch also includes the addition of the internal mutex which is currently only used to protect some types of allocation and deallocation. This significantly can reduce context switch latency under certain circumstances. In particular, some heap/region operations were O(n) and had dispatching disabled. This should help enormously. With this merge, the patch is not as clean as it should be. In particular, the documentation has not been modified to reflect the new object ID layout, the IDs in the test screens are not updated, and _Objects_Get_information needs to be a real routine not inlined. As part of this patch a lot of MP code for thread/proxy blocking was made conditional and cleaned up.
  • src/bdbuf.c: Modified as part of above.
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libblock/ChangeLog

    r9fbe22cc r2e2bfa0  
     12002-07-01    Joel Sherrill <joel@OARcorp.com>
     2
     3        * Mega patch merge to change the format of the object IDs to
     4        loosen the dependency between the SCORE and the various APIs.
     5        There was considerable work to simplify the object name management
     6        and it appears that the name_table field is no longer needed.
     7        This patch also includes the addition of the internal mutex
     8        which is currently only used to protect some types of allocation
     9        and deallocation.  This significantly can reduce context
     10        switch latency under certain circumstances.  In particular,
     11        some heap/region operations were O(n) and had dispatching
     12        disabled.  This should help enormously.  With this merge,
     13        the patch is not as clean as it should be.  In particular,
     14        the documentation has not been modified to reflect the new object
     15        ID layout, the IDs in the test screens are not updated, and
     16        _Objects_Get_information needs to be a real routine not inlined.
     17        As part of this patch a lot of MP code for thread/proxy blocking
     18        was made conditional and cleaned up.
     19        * src/bdbuf.c:  Modified as part of above.
    1202002-07-01      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    221
  • c/src/exec/libblock/src/bdbuf.c

    r9fbe22cc r2e2bfa0  
    10891089    mutex_attr.priority_ceiling = 0;
    10901090
    1091     _CORE_mutex_Initialize(&bd_buf->transfer_sema, OBJECTS_NO_CLASS,
    1092                            &mutex_attr, CORE_MUTEX_LOCKED, NULL);
     1091    _CORE_mutex_Initialize(&bd_buf->transfer_sema,
     1092                           &mutex_attr, CORE_MUTEX_LOCKED);
    10931093}
    10941094
  • cpukit/libblock/ChangeLog

    r9fbe22cc r2e2bfa0  
     12002-07-01    Joel Sherrill <joel@OARcorp.com>
     2
     3        * Mega patch merge to change the format of the object IDs to
     4        loosen the dependency between the SCORE and the various APIs.
     5        There was considerable work to simplify the object name management
     6        and it appears that the name_table field is no longer needed.
     7        This patch also includes the addition of the internal mutex
     8        which is currently only used to protect some types of allocation
     9        and deallocation.  This significantly can reduce context
     10        switch latency under certain circumstances.  In particular,
     11        some heap/region operations were O(n) and had dispatching
     12        disabled.  This should help enormously.  With this merge,
     13        the patch is not as clean as it should be.  In particular,
     14        the documentation has not been modified to reflect the new object
     15        ID layout, the IDs in the test screens are not updated, and
     16        _Objects_Get_information needs to be a real routine not inlined.
     17        As part of this patch a lot of MP code for thread/proxy blocking
     18        was made conditional and cleaned up.
     19        * src/bdbuf.c:  Modified as part of above.
    1202002-07-01      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    221
  • cpukit/libblock/src/bdbuf.c

    r9fbe22cc r2e2bfa0  
    10891089    mutex_attr.priority_ceiling = 0;
    10901090
    1091     _CORE_mutex_Initialize(&bd_buf->transfer_sema, OBJECTS_NO_CLASS,
    1092                            &mutex_attr, CORE_MUTEX_LOCKED, NULL);
     1091    _CORE_mutex_Initialize(&bd_buf->transfer_sema,
     1092                           &mutex_attr, CORE_MUTEX_LOCKED);
    10931093}
    10941094
Note: See TracChangeset for help on using the changeset viewer.