2011-08-01 Jennifer Averett <Jennifer.Averett@OARcorp.com>

* score/src/schedulersimplesmpschedule.c: Fix bug in smp simple
	scheduler.
This commit is contained in:
Jennifer Averett
2011-08-01 14:17:44 +00:00
parent dce1032b6c
commit bc018b12eb
2 changed files with 9 additions and 2 deletions
+5
View File
@@ -1,3 +1,8 @@
2011-08-01 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* score/src/schedulersimplesmpschedule.c: Fix bug in smp simple
scheduler.
2011-08-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libfs/src/nfsclient/src/nfs.c: Fixed creation of directories.
@@ -93,12 +93,12 @@ bool _Scheduler_simple_smp_Assign(
}
if ( !_States_Is_ready( e->current_state ) ) {
pheir = h;
pheir = e;
found_cpu = cpu;
found = true;
blocked = true;
D( "SCHED CPU=%d PHeir=0x%08x considering=0x%08x BLOCKED\n",
cpu, h->Object.id, consider->Object.id );
cpu, e->Object.id, consider->Object.id );
continue;
}
@@ -182,6 +182,8 @@ bool _Scheduler_simple_smp_Assign(
* inversions and let threads run earlier.
*/
if ( !pheir->is_preemptible && h->is_preemptible ) {
D( "SCHED CPU=%d PHeir==0x%08x is NOT PREEMPTIBLE\n",
cpu, pheir->Object.id );
pheir = h;
found_cpu = cpu;
D( "SCHED CPU=%d PHeir=0x%08x considering=0x%08x PREEMPTIBLE\n",