1. 18 Mar, 2019 1 commit
    • Jan Kiszka's avatar
      cobalt: Add sched-quota tracepoints · 4f0f067a
      Jan Kiszka authored
      
      
      This instruments the sched-quota scheduling policy to track which groups
      exit, with which settings, and which threads belong to them.
      
      As trace_cobalt_schedquota_add_thread may be invoked before a thread is
      fully initialized, we need to trace also the thread address.
      Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
      4f0f067a
  2. 04 Feb, 2019 9 commits
  3. 16 Jan, 2019 3 commits
  4. 09 Jan, 2019 1 commit
  5. 20 Dec, 2018 1 commit
  6. 14 Dec, 2018 1 commit
  7. 06 Dec, 2018 1 commit
  8. 30 Nov, 2018 5 commits
  9. 28 Nov, 2018 1 commit
  10. 23 Nov, 2018 1 commit
    • Jan Kiszka's avatar
      cobalt/sched-quota: Account for already consumed time on limit update · f116e7eb
      Jan Kiszka authored
      
      
      If we change the quota value of thread group, we should take its already
      consumed time during the current cycle into account. So far, we refilled
      the budget blindly, which could have given the group an uncontrolled
      "peak".
      
      This commit first update the run_budget_ns of an active group and kills
      its limit timer. Then it refills run_budget_ns only with the remaining
      budget of the current cycle, taking the new quota as limit.
      
      Accumulated credits are still dropped - not worth to deal with their
      complexity in this scenario.
      Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
      f116e7eb
  11. 16 Nov, 2018 9 commits
  12. 28 Oct, 2018 4 commits
  13. 17 Oct, 2018 1 commit
  14. 10 Oct, 2018 1 commit
    • Jan Kiszka's avatar
      cobalt/posix/mqueue: Fix crash after failing registration · 697679b7
      Jan Kiszka authored
      
      
      If xnregistry_enter in mq_open fails, the new entry will not be added to
      cobalt_mqq. But the cleanup path taken afterwards will nevertheless try
      to remove it from there. That will cause a crash because the mq->link is
      uninitialized. Fix that by initializing it as list head so that list
      removal becomes harmless, even when the entry is not on any list..
      Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
      697679b7
  15. 02 Oct, 2018 1 commit