summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/confdefs.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-07-06 15:59:43 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-07-10 07:49:40 +0200
commit21389c061390cc04ea1d9882904daebfa86ee008 (patch)
tree3d204e9949c114eee857081caf74627e41f663fb /cpukit/sapi/include/confdefs.h
parentscore: Fix set scheduler (diff)
downloadrtems-21389c061390cc04ea1d9882904daebfa86ee008.tar.bz2
score: Make EDF the default SMP scheduler
The EDF SMP scheduler supports simple thread processor affinities (see #3059) with a small run-time overhead. The current default SMP scheduler lacks support for thread processor affinities at all. The EDF SMP scheduler offers a good feature set for most applications. So, use it by default. Run-time libraries like libgomp, MTAPI, work stealing schedulers, language interpreters (e.g. Erlang virtual machine), maintainence of per-processor data (e.g. Universal Memory Allocator (UMA)), etc. use a one-to-one thread processor affinity for example. Update #3063.
Diffstat (limited to 'cpukit/sapi/include/confdefs.h')
-rwxr-xr-xcpukit/sapi/include/confdefs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index d01c927014..50e04b23cb 100755
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -811,9 +811,9 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
#if defined(RTEMS_SMP) && CONFIGURE_MAXIMUM_PROCESSORS > 1
/**
* If no scheduler is specified in an SMP configuration, the
- * priority scheduler is default.
+ * EDF scheduler is default.
*/
- #define CONFIGURE_SCHEDULER_PRIORITY_SMP
+ #define CONFIGURE_SCHEDULER_EDF_SMP
#else
/**
* If no scheduler is specified in a uniprocessor configuration, the