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

Wayne Thornton (@wmthornton-dev) gitlab at rtems.org
Thu May 21 01:50:14 UTC 2026




Wayne Thornton commented on a discussion on cpukit/dhrl/dhrl.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150645

 > +};
 > +
 > +static struct dhrl_control dhrl_instance;
 > +
 > +/* Worker Task Implementation */
 > +static rtems_task dhrl_worker_loop( rtems_task_argument arg )
 > +{
 > +  struct dhrl_control *ctx = (struct dhrl_control *) arg;
 > +  int channel_id = ( ctx->worker_a_id == rtems_task_self() ) ? 0 : 1;
 > +
 > +  while ( 1 ) {
 > +    rtems_barrier_wait( ctx->start_barrier, RTEMS_NO_TIMEOUT );
 > +
 > +    atomic_thread_fence( memory_order_acquire );
 > +
 > +    unsigned int my_epoch = atomic_load_explicit(

Done. Will be pushed in next commit.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150645
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/20260521/17174518/attachment-0001.htm>


More information about the bugs mailing list