1. 13 May, 2021 1 commit
  2. 01 Mar, 2021 1 commit
    • Philippe Gerum's avatar
      include/tube: fix queue remove/add race · edb5af7f
      Philippe Gerum authored
      
      
      A receiver could get a spurious empty tube status, due to
      receive_tube() racing with send_tube(). See the added comments into
      the code for details about the resolution.
      
      At this chance, guard against load/store tearing on shared pointers.
      
      Pending issue: we still have a potential connectivity issue between
      the prep and finish ops when pushing to a tube.
      Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
      edb5af7f
  3. 07 Feb, 2021 5 commits
  4. 13 Dec, 2020 5 commits
  5. 12 Dec, 2020 4 commits
  6. 11 Nov, 2020 1 commit
  7. 10 Nov, 2020 1 commit
  8. 20 Sep, 2020 1 commit
    • lio's avatar
      lib:fix possible returning EINVAL when evl_attach* called by SCHED_RR threads · f20f616f
      lio authored
      
      
      When evl_attach_thread() was called,  a local stack variable *attrs* will copy-
      from-user to linux-evl. The problem is that *attrs* initializes only two of its
      members:attrs.sched_policy and attrs.sched_priority, but none of the other
      members are initialized.
      
      These uninitialized may be "zero" or any other random values, for example:
      attrs->sched_rr_quantum may be some none-zero value when the threads under
      discussion is a SCHED_RR task.
      In this case, *attrs* copyed to linux-evl in *thread_common_ioctl()*, and
      attrs->sched_rr_quantum is none-zero value; then fllowed call *set_time_slice*
      will lead to a -EINVAL return for meet *quantum <= evl_get_clock_gravity()*.
      
      This patch will initialize all members of *attrs* to zero.
      Signed-off-by: default avatarlio <liu.hailong6@zte.com.cn>
      f20f616f
  9. 13 Sep, 2020 1 commit
  10. 16 Jul, 2020 2 commits
  11. 04 Jul, 2020 1 commit
  12. 14 Jun, 2020 3 commits
  13. 01 Jun, 2020 3 commits
  14. 27 May, 2020 2 commits
  15. 26 May, 2020 1 commit
  16. 24 May, 2020 1 commit
  17. 23 May, 2020 4 commits
  18. 19 May, 2020 1 commit
    • Philippe Gerum's avatar
      benchmarks/latmus: latmon: fix retrieval of histogram data · 1377720f
      Philippe Gerum authored
      This is a general fix addressing several issues in the retrieval of
      histogram data from latmon, which reverts #6b2425d8
      
       in the same move:
      
      - use a safe socket send loop in order to cope with partial writes on
        the latmon side.
      
      - drop the very notion of warmup time, the system must be ready to
        respond with no delay or preparation, and the average figures won't
        be affected over long enough runs anyway.
      Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
      1377720f
  19. 16 May, 2020 1 commit
  20. 14 May, 2020 1 commit