OpenBSD cvs log

created 2019-03-30T16:58:38Z
begin 2019-03-23T00:00:00Z
end 2019-03-24T00:00:00Z
path src/sys
commits 4

date 2019-03-23T05:27:53Z
author visa
files src/sys/arch/powerpc/include/cpu.h log diff annotate
message Add intr_{disable,restore}() for powerpc.

OK mpi@ patrick@

date 2019-03-23T05:30:16Z
author visa
files src/sys/kern/kern_lock.c log diff annotate
src/sys/sys/mutex.h log diff annotate
message Add a simple spinning mutex for ddb. Unlike mutex(9), this lock keeps
on spinning even if `db_active' or `panicstr' has been set. The new
mutex also disables IPIs in the critical section.

OK mpi@ patrick@

date 2019-03-23T05:47:22Z
author visa
files src/sys/arch/amd64/amd64/db_interface.c log diff annotate
src/sys/arch/amd64/include/db_machdep.h log diff annotate
src/sys/arch/arm64/arm64/db_interface.c log diff annotate
src/sys/arch/i386/i386/db_interface.c log diff annotate
src/sys/arch/i386/i386/db_mp.c log diff annotate
src/sys/arch/i386/include/db_machdep.h log diff annotate
message Use the debugger mutex for `ddb_mp_mutex'. This should prevent a race
that could leave `ddb_mp_mutex' locked if one CPU incremented
`db_active' while another CPU was in the critical section. When the race
hit, the debugger was unable to resume execution or switch between CPUs.

Race analyzed by patrick@

OK mpi@ patrick@

date 2019-03-23T05:47:23Z
author visa
files src/sys/arch/mips64/include/db_machdep.h log diff annotate
src/sys/arch/mips64/mips64/db_machdep.c log diff annotate
src/sys/arch/powerpc/ddb/db_interface.c log diff annotate
src/sys/arch/powerpc/include/db_machdep.h log diff annotate
src/sys/arch/sparc64/include/db_machdep.h log diff annotate
src/sys/arch/sparc64/sparc64/db_interface.c log diff annotate
message Use the debugger mutex for `ddb_mp_mutex'. This should prevent a race
that could leave `ddb_mp_mutex' locked if one CPU incremented
`db_active' while another CPU was in the critical section. When the race
hit, the debugger was unable to resume execution or switch between CPUs.

Race analyzed by patrick@

OK mpi@ patrick@