[PATCH 0/3] *** implementation of generic atomic ops for UP ***
wei.a.yang
wei.a.yang at gmail.com
Wed Apr 24 02:33:55 UTC 2013
在 2013-4-24,3:46,Gedare Bloom <gedare at rtems.org> 写道:
> Some of the spatomic tests are not terminating within the 60 second
> window used by the rtems-testing scripts. My guess is that the "Wait
> task" is wasting a lot of time while spinning. Maybe reduce its
> priority so it will only be scheduled when the other tasks are done?
>
Hi Gedare. Thank you for your test. In the spatomic tests there are four task with the same priority running in the same time. Each task test all atomic operations with each 200000 times. If the atomic op is passed it will print " task x: atomic-ops-name: SUCCESS" otherwise it will trigger rtems_test_assert failed. At the end it will print " END OF TEST spatomic0x".
Because of so many test times it will cost many times. Maybe I should reduce the test times.
> On Tue, Apr 23, 2013 at 12:34 PM, WeiY <wei.a.yang at gmail.com> wrote:
>> From: WeiY <wei.a.yang at gmail.com>
>>
>> *** BLURB HERE ***
>>
>> WeiY (3):
>> Implement a generic atomic ops for all UP mode architectures with
>> disable/enable-IRQ function simulated.
>> Using the generic atomic ops to implement UP mode atomic for all
>> architectures. SMP atomic port will be later.
>> Clear the atomic conditional compilation.
>>
>> cpukit/configure.ac | 7 -
>> cpukit/rtems/Makefile.am | 2 -
>> cpukit/rtems/preinstall.am | 3 +-
>> cpukit/score/Makefile.am | 3 +-
>> cpukit/score/cpu/arm/Makefile.am | 1 +
>> cpukit/score/cpu/arm/preinstall.am | 3 +
>> cpukit/score/cpu/arm/rtems/score/cpuatomic.h | 40 +++
>> cpukit/score/cpu/avr/Makefile.am | 1 +
>> cpukit/score/cpu/avr/preinstall.am | 4 +
>> cpukit/score/cpu/avr/rtems/score/cpuatomic.h | 40 +++
>> cpukit/score/cpu/bfin/Makefile.am | 1 +
>> cpukit/score/cpu/bfin/preinstall.am | 3 +
>> cpukit/score/cpu/bfin/rtems/score/cpuatomic.h | 40 +++
>> cpukit/score/cpu/h8300/Makefile.am | 1 +
>> cpukit/score/cpu/h8300/preinstall.am | 3 +
>> cpukit/score/cpu/h8300/rtems/score/cpuatomic.h | 40 +++
>> cpukit/score/cpu/lm32/Makefile.am | 1 +
>> cpukit/score/cpu/lm32/preinstall.am | 3 +
>> cpukit/score/cpu/lm32/rtems/score/cpuatomic.h | 40 +++
>> cpukit/score/cpu/m32c/Makefile.am | 1 +
>> cpukit/score/cpu/m32c/preinstall.am | 3 +
>> cpukit/score/cpu/m32c/rtems/score/cpuatomic.h | 40 +++
>> cpukit/score/cpu/m32r/Makefile.am | 1 +
>> cpukit/score/cpu/m32r/preinstall.am | 3 +
>> cpukit/score/cpu/m32r/rtems/score/cpuatomic.h | 40 +++
>> cpukit/score/cpu/m68k/Makefile.am | 1 +
>> cpukit/score/cpu/m68k/preinstall.am | 3 +
>> cpukit/score/cpu/m68k/rtems/score/cpuatomic.h | 40 +++
>> cpukit/score/cpu/mips/Makefile.am | 1 +
>> cpukit/score/cpu/mips/preinstall.am | 3 +
>> cpukit/score/cpu/mips/rtems/score/cpuatomic.h | 40 +++
>> cpukit/score/cpu/moxie/Makefile.am | 1 +
>> cpukit/score/cpu/moxie/preinstall.am | 3 +
>> cpukit/score/cpu/moxie/rtems/score/cpuatomic.h | 40 +++
>> cpukit/score/cpu/nios2/Makefile.am | 1 +
>> cpukit/score/cpu/nios2/preinstall.am | 3 +
>> cpukit/score/cpu/nios2/rtems/score/cpuatomic.h | 40 +++
>> cpukit/score/cpu/sh/Makefile.am | 1 +
>> cpukit/score/cpu/sh/preinstall.am | 3 +
>> cpukit/score/cpu/sh/rtems/score/cpuatomic.h | 40 +++
>> cpukit/score/cpu/sparc/Makefile.am | 1 +
>> cpukit/score/cpu/sparc/preinstall.am | 3 +
>> cpukit/score/cpu/sparc/rtems/score/cpuatomic.h | 40 +++
>> cpukit/score/cpu/sparc64/Makefile.am | 1 +
>> cpukit/score/cpu/sparc64/preinstall.am | 3 +
>> cpukit/score/cpu/sparc64/rtems/score/cpuatomic.h | 40 +++
>> cpukit/score/cpu/v850/Makefile.am | 1 +
>> cpukit/score/cpu/v850/preinstall.am | 3 +
>> cpukit/score/cpu/v850/rtems/score/cpuatomic.h | 40 +++
>> .../score/include/rtems/score/genericatomicops.h | 274 ++++++++++++++++++++
>> cpukit/score/preinstall.am | 7 +-
>> testsuites/sptests/configure.ac | 4 -
>> testsuites/sptests/spatomic01/Makefile.am | 4 -
>> testsuites/sptests/spatomic02/Makefile.am | 4 -
>> testsuites/sptests/spatomic03/Makefile.am | 4 -
>> testsuites/sptests/spatomic04/Makefile.am | 4 -
>> testsuites/sptests/spatomic05/Makefile.am | 4 -
>> testsuites/sptests/spatomic06/Makefile.am | 4 -
>> testsuites/sptests/spatomic07/Makefile.am | 4 -
>> 59 files changed, 942 insertions(+), 47 deletions(-)
>> create mode 100644 cpukit/score/cpu/arm/rtems/score/cpuatomic.h
>> create mode 100644 cpukit/score/cpu/avr/rtems/score/cpuatomic.h
>> create mode 100644 cpukit/score/cpu/bfin/rtems/score/cpuatomic.h
>> create mode 100644 cpukit/score/cpu/h8300/rtems/score/cpuatomic.h
>> create mode 100644 cpukit/score/cpu/lm32/rtems/score/cpuatomic.h
>> create mode 100644 cpukit/score/cpu/m32c/rtems/score/cpuatomic.h
>> create mode 100644 cpukit/score/cpu/m32r/rtems/score/cpuatomic.h
>> create mode 100644 cpukit/score/cpu/m68k/rtems/score/cpuatomic.h
>> create mode 100644 cpukit/score/cpu/mips/rtems/score/cpuatomic.h
>> create mode 100644 cpukit/score/cpu/moxie/rtems/score/cpuatomic.h
>> create mode 100644 cpukit/score/cpu/nios2/rtems/score/cpuatomic.h
>> create mode 100644 cpukit/score/cpu/sh/rtems/score/cpuatomic.h
>> create mode 100644 cpukit/score/cpu/sparc/rtems/score/cpuatomic.h
>> create mode 100644 cpukit/score/cpu/sparc64/rtems/score/cpuatomic.h
>> create mode 100644 cpukit/score/cpu/v850/rtems/score/cpuatomic.h
>> create mode 100644 cpukit/score/include/rtems/score/genericatomicops.h
>>
>> _______________________________________________
>> rtems-devel mailing list
>> rtems-devel at rtems.org
>> http://www.rtems.org/mailman/listinfo/rtems-devel
More information about the devel
mailing list