1. 05 Apr, 2019 1 commit
  2. 04 Apr, 2019 3 commits
  3. 01 Apr, 2019 9 commits
  4. 19 Mar, 2019 7 commits
  5. 18 Mar, 2019 3 commits
    • Philippe Gerum's avatar
      drivers/ipc: bufp: fix read-write, write-write preemption cases · a3a76644
      Philippe Gerum authored
      The token-based approach for detecting preemption while data is being
      moved into or out of the ring only protects from read vs read races,
      not from races involving a write side. For instance, a reader might
      read dirty data being changed by a writer concurrently, or two writers
      might compete writing two distinct messages at the same place in the
      ring space.
      To address this issue, use a slot-based implementation which
      atomically reserves exclusive portions of the ring space readers and
      writers will be accessing locklessly. Those slots are guaranteed to
      never overlap among read and write requests, until the lockless
      operation finishes.
      Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
      Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
    • Jan Kiszka's avatar
      cobalt: Improve cobalt_copy_from/to_user · 28f6905d
      Jan Kiszka authored
      This aligns the definition of our user copy services with the kernel in
      two aspects:
       - use unlikely to mark the fast path
       - memset the remaining bits of the target region if the copy fails;
         this avoids false-positive compiler warnings and reduces the risk to
         evaluate undefined data in case the return value is not checked
      Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
    • 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>
  6. 04 Feb, 2019 9 commits
  7. 16 Jan, 2019 3 commits
  8. 09 Jan, 2019 1 commit
  9. 20 Dec, 2018 1 commit
  10. 14 Dec, 2018 1 commit
  11. 06 Dec, 2018 1 commit
  12. 30 Nov, 2018 1 commit