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.
This commit is contained in:
Joel Sherrill
2002-07-01 22:37:58 +00:00
parent 9fbe22ccd3
commit 2e2bfa0c70
4 changed files with 42 additions and 4 deletions

View File

@@ -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.

View File

@@ -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 --

View File

@@ -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.

View File

@@ -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 --