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.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to