4.115
Last change
on this file since d134adeb was
d134adeb,
checked in by Sebastian Huber <sebastian.huber@…>, on 05/23/14 at 13:32:32
|
score: Fix race condition in SMP startup
Do not use the Per_CPU_Control::started in
_SMP_Start_multitasking_on_secondary_processor() since this field may be
not up to date when a secondary processor reads it. Use the read-only
scheduler assignment instead.
Add a new fatal error SMP_FATAL_MULTITASKING_START_ON_INVALID_PROCESSOR.
This prevents out-of-bounds access.
It is currently not possible to test these fatal errors. One option
would be to fake values of the _CPU_SMP_Get_current_processor(), but
unfortunately this function is inline on some architectures.
|
-
Property mode set to
100644
|
File size:
852 bytes
|
Line | |
---|
1 | ACLOCAL_AMFLAGS = -I ../aclocal |
---|
2 | |
---|
3 | SUBDIRS = |
---|
4 | if SMPTESTS |
---|
5 | SUBDIRS += smp01 |
---|
6 | SUBDIRS += smp02 |
---|
7 | SUBDIRS += smp03 |
---|
8 | SUBDIRS += smp05 |
---|
9 | SUBDIRS += smp07 |
---|
10 | SUBDIRS += smp08 |
---|
11 | SUBDIRS += smp09 |
---|
12 | SUBDIRS += smpaffinity01 |
---|
13 | SUBDIRS += smpatomic01 |
---|
14 | SUBDIRS += smpfatal01 |
---|
15 | SUBDIRS += smpfatal02 |
---|
16 | SUBDIRS += smpfatal03 |
---|
17 | SUBDIRS += smpfatal04 |
---|
18 | SUBDIRS += smpfatal05 |
---|
19 | SUBDIRS += smpfatal08 |
---|
20 | SUBDIRS += smpipi01 |
---|
21 | SUBDIRS += smpload01 |
---|
22 | SUBDIRS += smplock01 |
---|
23 | SUBDIRS += smpmigration01 |
---|
24 | SUBDIRS += smpmigration02 |
---|
25 | SUBDIRS += smpscheduler01 |
---|
26 | SUBDIRS += smpscheduler02 |
---|
27 | SUBDIRS += smpscheduler03 |
---|
28 | SUBDIRS += smpsignal01 |
---|
29 | SUBDIRS += smpswitchextension01 |
---|
30 | SUBDIRS += smpthreadlife01 |
---|
31 | SUBDIRS += smpunsupported01 |
---|
32 | if HAS_POSIX |
---|
33 | SUBDIRS += smppsxaffinity01 |
---|
34 | SUBDIRS += smppsxaffinity02 |
---|
35 | SUBDIRS += smppsxsignal01 |
---|
36 | endif |
---|
37 | endif |
---|
38 | |
---|
39 | include $(top_srcdir)/../automake/subdirs.am |
---|
40 | include $(top_srcdir)/../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.