Re: PROBLEM: Probabilistic segfault on AMD hardware with INVLPGB

From: Borislav Petkov

Date: Thu Jul 09 2026 - 15:20:33 EST


On Thu, Jul 09, 2026 at 08:21:55AM +0100, Matt Fleming wrote:
> Hey! Yep, you know me mate... slightest whiff of a CPU bug and I'm there ;-)

Oh, you don't have enough?!? Hold my beer... :-P

> Thanks! I guess Ubuntu's GCC defaults masked this.

I'm being told you should simply not use this macro:

https://en.cppreference.com/c/atomic/ATOMIC_VAR_INIT

Gotta love that shite there:

"(since C11)
(deprecated in C17)
(removed in C23)"

Can you folks make up your mind first and then spec?!

:-P

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette