CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2021/01/08 05:29:16

Modified files:
        sys/kern       : kern_event.c 

Log message:
Lock kernel before raising SPL in klist_lock()

This prevents unwanted spinning with interrupts disabled.

At the moment, this code is only invoked through klist_invalidate()
and the callers should already hold the kernel lock. Also, one could
argue that in MP-unsafe contexts klist_lock() should only assert for
the kernel lock.

Reply via email to