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@