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.


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

Reply via email to