OpenBSD cvs log

created 2022-02-26T13:33:54Z
begin 2022-02-19T00:00:00Z
end 2022-02-20T00:00:00Z
path src/sys
commits 2

date 2022-02-19T23:56:18Z
author deraadt
files src/sys/kern/kern_synch.c log diff annotate
message tsleep() prints a stack trace when cold==2. The suspend/resume code has
phases where sleeps are not allowed, and this used to discover it.
msleep() needs the same check.

date 2022-02-19T23:57:09Z
author deraadt
files src/sys/kern/subr_hibernate.c log diff annotate
message The suspend/resume code sleeps-not-allowed phases are protected with
cold=2. Use the same strategy in a a similar phase during hibernate.