From 1652052f525fd970e8993f14c74a485bad0255af Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 23 Mar 2016 14:48:03 -0600 Subject: [PATCH] Update a README.txt --- configs/sim/README.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configs/sim/README.txt b/configs/sim/README.txt index ede76736df..2b0ce395f4 100644 --- a/configs/sim/README.txt +++ b/configs/sim/README.txt @@ -265,6 +265,13 @@ SMP -# CONFIG_SCHED_INSTRUMENTATION is not set +CONFIG_SCHED_INSTRUMENTATION=y + The SMP configuration will run with: + + CONFIG_SMP_NCPUS=1 + + In this case there is, of course, no muli-CPU processing, but this does + verify the correctness of some the basic SMP logic. + The NSH configuration can also be forced to run SMP, but suffers from the same quirky behavior. I can be made reliable if you modify arch/sim/src/up_idle.c so that the IDLE loop only runs for CPU0.