1. 04 Apr, 2022 5 commits
    • lat9nq's avatar
      k_auto_object: Fix data race · 983916e9
      lat9nq authored
      Change the memory order to acqure-release when we decrement the
      reference count. Prevents a race with line 89 reported by TSan.
      983916e9
    • lat9nq's avatar
      k_thread: Fix data race · 6bcbbb29
      lat9nq authored
      TSan reports a data race between writing at cpp:1162 and reading at
      h:262. Make the thread_state atomic to prevent this.
      6bcbbb29
    • lat9nq's avatar
      k_process: Fix data race · d6a06662
      lat9nq authored
      TSan reported a race between thread 36 and thread 34, a read at :225 and
      a write at :225 respectively. Make total_proces_running_time_ticks
      atomic to avoid this race.
      d6a06662
    • lat9nq's avatar
      kernel: Fix current_process race · 5b5a1b7f
      lat9nq authored
      TSan reported a race at :258 and :803, so make current_process an atomic
      pointer.
      5b5a1b7f
    • lat9nq's avatar
      k_scheduler_lock: Fix data race · 83b86d91
      lat9nq authored
      
      
      TSan reports a race between the main thread and T37 during
      IsLockedByCurrentThread and when it's set at the end of Lock(),
      respectively. Set owner_thread to an atomic pointer to fix it.
      
      Co-authored-by: default avatarbunnei <bunneidev@gmail.com>
      83b86d91
  2. 03 Apr, 2022 4 commits
  3. 02 Apr, 2022 13 commits
  4. 01 Apr, 2022 6 commits
  5. 31 Mar, 2022 7 commits
  6. 30 Mar, 2022 2 commits
  7. 29 Mar, 2022 3 commits