RTEMS | cpukit: Create DHRL Library for DRAM Latency Mitigation (!1193)

Gedare Bloom (@gedare) gitlab at rtems.org
Wed May 20 20:48:20 UTC 2026




Gedare Bloom started a new discussion on cpukit/dhrl/dhrl.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150607

 > +    }
 > +
 > +    rtems_barrier_wait( ctx->tail_barrier, RTEMS_NO_TIMEOUT );
 > +  }
 > +}
 > +
 > +/* Internal Hybrid Barrier Execution */
 > +static volatile void *dhrl_fetch_data(
 > +  struct dhrl_control *ctx,
 > +  volatile void       *addr_a,
 > +  volatile void       *addr_b
 > +)
 > +{
 > +  volatile void *winning_result;
 > +
 > +  rtems_mutex_lock( &ctx->mutex );

This mutex is only acquired in this function. Is this function actually called in parallel? I only see sequential execution paths that call to it, so I'm not sure what this mutex is protecting.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150607
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260520/8850bc4c/attachment-0001.htm>


More information about the bugs mailing list