diff options
Diffstat (limited to 'cpukit/libblock')
-rw-r--r-- | cpukit/libblock/ChangeLog | 19 | ||||
-rw-r--r-- | cpukit/libblock/src/bdbuf.c | 4 |
2 files changed, 21 insertions, 2 deletions
diff --git a/cpukit/libblock/ChangeLog b/cpukit/libblock/ChangeLog index ec6a10abbd..2ea3a7a228 100644 --- a/cpukit/libblock/ChangeLog +++ b/cpukit/libblock/ChangeLog @@ -1,3 +1,22 @@ +2002-07-01 Joel Sherrill <joel@OARcorp.com> + + * 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. 2002-07-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Remove RTEMS_PROJECT_ROOT. diff --git a/cpukit/libblock/src/bdbuf.c b/cpukit/libblock/src/bdbuf.c index 877e3c561c..0960ac4c3a 100644 --- a/cpukit/libblock/src/bdbuf.c +++ b/cpukit/libblock/src/bdbuf.c @@ -1088,8 +1088,8 @@ bdbuf_initialize_transfer_sema(bdbuf_buffer *bd_buf) mutex_attr.discipline = CORE_MUTEX_DISCIPLINES_FIFO; mutex_attr.priority_ceiling = 0; - _CORE_mutex_Initialize(&bd_buf->transfer_sema, OBJECTS_NO_CLASS, - &mutex_attr, CORE_MUTEX_LOCKED, NULL); + _CORE_mutex_Initialize(&bd_buf->transfer_sema, + &mutex_attr, CORE_MUTEX_LOCKED); } /* bdbuf_write_transfer_done -- |