Module: xenomai-2.6 Branch: master Commit: 0ea6d386ac43cc98a6f3f7851ff5e59ca574613b URL: http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=0ea6d386ac43cc98a6f3f7851ff5e59ca574613b
Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org> Date: Tue Feb 14 21:56:29 2012 +0100 arm: forcibly select unlocked context switches when SMP is enabled --- ksrc/arch/arm/Kconfig | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ksrc/arch/arm/Kconfig b/ksrc/arch/arm/Kconfig index deee854..25ee469 100644 --- a/ksrc/arch/arm/Kconfig +++ b/ksrc/arch/arm/Kconfig @@ -18,8 +18,13 @@ depends on XENO_OPT_NUCLEUS config IPIPE_WANT_PREEMPTIBLE_SWITCH bool - default y if (XENO_HW_UNLOCKED_SWITCH || SMP) - default n if !XENO_HW_UNLOCKED_SWITCH && !SMP + default y if XENO_HW_UNLOCKED_SWITCH + default n if !XENO_HW_UNLOCKED_SWITCH + +config SELECT_HW_UNLOCKED_SWITCH_ON_SMP + bool + select XENO_HW_UNLOCKED_SWITCH + default y if SMP config XENO_HW_FPU bool "Enable FPU support" @@ -42,8 +47,8 @@ config XENO_HW_UNLOCKED_SWITCH and/or local interrupts may execute concurrently. This option reduces interrupt latency when costly cache and - TLB flushes are required to switch context, and may improve - concurrency on some SMP/multi-core systems as well. + TLB flushes are required to switch context, and is mandatory + on SMP/multi-core systems. You definitely want to enable that option on embedded ARM platforms. _______________________________________________ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git