summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-01 22:37:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-07-01 22:37:58 +0000
commit2e2bfa0c709222adf540d09f0d49ca2a3b70001f (patch)
treef12b83d90458bf09e30cbda371caa8b3be8450fa /c
parent2002-07-01 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-2e2bfa0c709222adf540d09f0d49ca2a3b70001f.tar.bz2
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.
Diffstat (limited to 'c')
-rw-r--r--c/src/exec/libblock/ChangeLog19
-rw-r--r--c/src/exec/libblock/src/bdbuf.c4
2 files changed, 21 insertions, 2 deletions
diff --git a/c/src/exec/libblock/ChangeLog b/c/src/exec/libblock/ChangeLog
index ec6a10abbd..2ea3a7a228 100644
--- a/c/src/exec/libblock/ChangeLog
+++ b/c/src/exec/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/c/src/exec/libblock/src/bdbuf.c b/c/src/exec/libblock/src/bdbuf.c
index 877e3c561c..0960ac4c3a 100644
--- a/c/src/exec/libblock/src/bdbuf.c
+++ b/c/src/exec/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 --