Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: amd64/fpu: Avoid multiple FPU resets
To:
Philip Guenther <guenther@gmail.com>
Cc:
Mark Kettenis <mark.kettenis@xs4all.nl>, cludwig@genua.de, tech@openbsd.org
Date:
Sun, 15 Jun 2025 10:16:57 -0600

Download raw body.

Thread
Philip Guenther <guenther@gmail.com> wrote:

> Okay, then I think the original diff is correct, though maybe we add
> the assertwaitok() to fpu_kernel_enter() so we remain confident of
> that.

If an assert triggers at this point, in drm code, it is unlikely that
a user will see it.  I expect it will deadlock the kernel hard in a
very invisible fashion...

But it is still the right thing to do..