RTEMS | cpukit: Create DHRL Library for DRAM Latency Mitigation (!1193)
Gedare Bloom (@gedare)
gitlab at rtems.org
Fri May 22 15:23:14 UTC 2026
Gedare Bloom commented on a discussion on cpukit/score/cpu/x86_64/include/rtems/score/cpu.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150850
>
> typedef uintptr_t CPU_Uint32ptr;
>
> +/**
> + * @brief Pauses the CPU pipeline to prevent aggressive speculative execution
> + * and reduce thermal load during spin-wait loops.
> + */
> +static inline void _CPU_Pause_speculation( void )
> +{
> + __asm__ volatile( "pause" ::: "memory" );
First create a separate branch such as `cpu-spin-wait` and apply the change for the `_CPU_Spin_wait()` there, create your commit, and push it to an MR.
Then, go back to this branch (`deterministic-hedged-read-library`), remove these changes, commit/fixup, and then use `git cherry-pick cpu-spin-wait` and it should pluck the top commit off that branch. That should be sufficient for this situation.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_150850
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/20260522/1eafce20/attachment-0001.htm>
More information about the bugs
mailing list