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

Gedare Bloom (@gedare) gitlab at rtems.org
Mon May 18 18:31:27 UTC 2026




Gedare Bloom commented on a discussion on cpukit/include/rtems/dhrl.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150443

 > +/* SPDX-License-Identifier: BSD-2-Clause */
 > +
 > +/**
 > + * @file
 > + *
 > + * @brief Deterministic Hedged Read Library (DHRL) Public API
 > + *
 > + * @note This library is explicitly constrained to x86_64/amd64 architectures.

We have facilities already for cache management, they should be preferred and extended if necessary: https://docs.rtems.org/docs/main/c-user/cache/introduction.html

I would also prefer generic solutions rather than specifically labelled "DHRL" solutions, such as `_CPU_Relax()` or maybe in this case it is more like `_CPU_Pause_speculation`?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150443
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/20260518/660a7377/attachment.htm>


More information about the bugs mailing list