1. 12 Aug, 2024 3 commits
  2. 09 Aug, 2024 1 commit
  3. 06 Aug, 2024 1 commit
    • Cedric Roux's avatar
      nr rlc: add a lock to protect access to time variables · b22891d4
      Cedric Roux authored
      ThreadSanitizer reported a data race, let's remove it.
      
      Here is the warning.
      
      WARNING: ThreadSanitizer: data race (pid=7361)
        Write of size 8 at 0x000003b42770 by thread T22 (mutexes: write M0):
          #0 nr_rlc_tick /home/richie/openairinterface5g/openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c:1101 (nr-softmodem+0x107d275) (BuildId: 291c846fc591e10c3838e9c53f4738997de8f984)
          #1 gNB_dlsch_ulsch_scheduler /home/richie/openairinterface5g/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c:220 (nr-softmodem+0xaec72a) (BuildId: 291c846fc591e10c3838e9c53f4738997de8f984)
          #2 run_scheduler /home/richie/openairinterface5g/openair2/NR_PHY_INTERFACE/NR_IF_Module.c:406 (nr-softmodem+0xad8515) (BuildId: 291c846fc591e10c3838e9c53f4738997de8f984)
          #3 tx_func /home/richie/openairinterface5g/executables/nr-gnb.c:134 (nr-softmodem+0x7002cc) (BuildId: 291c846fc591e10c3838e9c53f4738997de8f984)
          #4 L1_tx_thread /home/richie/openairinterface5g/executables/nr-gnb.c:197 (nr-softmodem+0x7002cc)
      
        Previous read of size 8 at 0x000003b42770 by thread T2 (mutexes: write M1):
          #0 rlc_data_req /home/richie/openairinterface5g/openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c:348 (nr-softmodem+0x1076f4e) (BuildId: 291c846fc591e10c3838e9c53f4738997de8f984)
          #1 rlc_data_req_thread /home/richie/openairinterface5g/openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c:139 (nr-softmodem+0xa671ce) (BuildId: 291c846fc591e10c3838e9c53f4738997de8f984)
      b22891d4
  4. 05 Aug, 2024 12 commits
  5. 02 Aug, 2024 23 commits