Re: [PATCH v6 2/7] x86/alternatives: serialize after (self-)modifying code

2025-06-23 Thread Jason Andryuk
On 2025-06-16 08:59, Jan Beulich wrote: While supposedly safe via enforcing a control flow change when modifying already prefetched code, it may not really be. Afaik a request is pending to drop the first of the two options in the SDM's "Handling Self- and Cross-Modifying Code" section (still pre

[PATCH v6 2/7] x86/alternatives: serialize after (self-)modifying code

2025-06-16 Thread Jan Beulich
While supposedly safe via enforcing a control flow change when modifying already prefetched code, it may not really be. Afaik a request is pending to drop the first of the two options in the SDM's "Handling Self- and Cross-Modifying Code" section (still present there as of version 087). Insert a se