CVSROOT:        /cvs
Module name:    src
Changes by:     v...@cvs.openbsd.org    2019/11/30 04:19:17

Modified files:
        sys/dev/pci/drm: drm_linux.c 
        sys/kern       : kern_rwlock.c kern_synch.c 
        sys/sys        : proc.h systm.h 

Log message:
Move kernel locking inside the sleep machinery. This enables calling
rwsleep(9) with PCATCH and rw_enter(9) with RW_INTR without the kernel
lock. In addition, now tsleep(9) with PCATCH should be safe to use
without the kernel lock if the sleep is purely time-based.

Tested by anton@, cheloha@, chris@
OK anton@, cheloha@

Reply via email to