OpenBSD cvs log

created 2019-05-04T02:26:20Z
begin 2017-10-17T00:00:00Z
end 2017-10-18T00:00:00Z
path src/sys
commits 6

date 2017-10-17T08:29:43Z
author mpi
files src/sys/kern/subr_log.c log diff annotate
message Print the pid of the most recent program that failed to send a log
via sendsyslog(2) along with the corresponding errno.

Help when troubleshooting which program is triggering an error, like
an overflow.

ok bluhm@

date 2017-10-17T13:58:10Z
author mikeb
files src/sys/arch/amd64/amd64/tsc.c log diff annotate
message Correctly handle frequency measurement failures

Issue observed by Joe Gidi and canacar@.
While here, make sure that the success rate is at least 2 out of 3
measurements but with an increased threshold.

date 2017-10-17T14:25:35Z
author visa
files src/sys/arch/amd64/conf/files.amd64 log diff annotate
src/sys/arch/amd64/include/cpu.h log diff annotate
src/sys/arch/amd64/include/mplock.h log diff annotate
src/sys/arch/i386/conf/files.i386 log diff annotate
src/sys/arch/i386/include/cpu.h log diff annotate
src/sys/arch/i386/include/mplock.h log diff annotate
src/sys/arch/sparc64/conf/files.sparc64 log diff annotate
src/sys/arch/sparc64/include/mplock.h log diff annotate
src/sys/kern/kern_lock.c log diff annotate
src/sys/sys/mplock.h log diff annotate
message Add a machine-independent implementation for the mplock.
This reduces code duplication and makes it easier to instrument
lock primitives.

The MI mplock uses the ticket lock code that has been in use
on amd64, i386 and sparc64. These are the architectures that now
switch to the MI code.

The lock_machdep.c files are unhooked from the build but not
removed yet, in case something goes wrong.

OK mpi@, kettenis@

date 2017-10-17T19:23:09Z
author jasper
files src/sys/arch/amd64/amd64/db_trace.c log diff annotate
src/sys/arch/i386/i386/db_trace.c log diff annotate
message Simplify code that determines the number of arguments for a given function.

For amd64 this means removing db_numargs() and directly setting
narg to the correct value (instead of capping it during iteration).

On i386 rename db_numargs() to db_i386_numargs() and only call it
when we fail to get the correct number out of CTF.

discussed with an ok mpi@

date 2017-10-17T19:31:56Z
author naddy
files src/sys/arch/amd64/stand/biosboot/Makefile log diff annotate
src/sys/arch/amd64/stand/boot/Makefile log diff annotate
src/sys/arch/amd64/stand/cdboot/Makefile log diff annotate
src/sys/arch/amd64/stand/mbr/Makefile log diff annotate
src/sys/arch/amd64/stand/pxeboot/Makefile log diff annotate
src/sys/arch/i386/stand/biosboot/Makefile log diff annotate
src/sys/arch/i386/stand/boot/Makefile log diff annotate
src/sys/arch/i386/stand/cdboot/Makefile log diff annotate
src/sys/arch/i386/stand/mbr/Makefile log diff annotate
src/sys/arch/i386/stand/pxeboot/Makefile log diff annotate
src/sys/arch/sparc64/stand/bootblk/Makefile log diff annotate
src/sys/dev/microcode/aic7xxx/Makefile log diff annotate
message remove the remaining references to .depend files since nothing creates them
any longer; ok espie@ deraadt@

date 2017-10-17T20:38:49Z
author deraadt
files src/sys/arch/amd64/include/cpufunc.h log diff annotate
message Don't do crazy bullshit when this is included by the bootblocks.