On Mon, Nov 17, 2025 at 05:55:41AM -0700, Jeremie Courreges-Anglas wrote:
> CVSROOT:      /cvs
> Module name:  src
> Changes by:   [email protected]    2025/11/17 05:55:41
> 
> Modified files:
>       sys/dev/pci/drm: drm_linux.c 
> 
> Log message:
> Fix drm code to avoid spurious tsleep errors leading to crashes
> 
> __set_current_state() reimplements parts of sleep_finish() but forgot
> to clear P_SINTR.  Later another tsleep->sleep_finish() call could
> pick up the flag and erroneously return ERESTART early, leading to
> crashes in unsuspecting code using tsleep(0, INFSLP).
> 
> Issue experienced by Piotr Isajew using iridium on 7.8 and myself
> using firefox.
> 
> ok claudio@ mpi@ and most likely kettenis@

also ok jsg@

-- 
jca

Reply via email to