OpenBSD cvs log

created 2021-01-11T01:33:19Z
begin 2021-01-08T11:23:57Z
end 2021-01-08T12:29:16Z
path src/sys
commits 1

date 2021-01-08T12:29:16Z
author visa
files src/sys/kern/kern_event.c log diff annotate
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.