OpenBSD cvs log

created 2019-11-02T14:59:07Z
begin 2019-11-01T00:00:00Z
end 2019-11-02T00:00:00Z
path src/sys
commits 7

date 2019-11-01T17:50:53Z
author mpi
files src/sys/arch/sparc64/sparc64/db_trace.c log diff annotate
message Flush the register windows before unwinding the stack.

This makes db_save_stack_trace() and db_stack_dump() work.

ok deraadt@, kettenis@

date 2019-11-01T18:03:50Z
author mpi
files src/sys/arch/sparc64/sparc64/db_trace.c log diff annotate
message Fix an off-by-one in db_save_stack_trace().

Save the PC after checking if it belongs to the kernel.

date 2019-11-01T19:13:52Z
author mpi
files src/sys/sys/proc.h log diff annotate
message Document that p_{sp,pc}inentry are owned by the current thread.

date 2019-11-01T19:18:29Z
author mpi
files src/sys/uvm/uvm_map.c log diff annotate
src/sys/uvm/uvm_map.h log diff annotate
message Keep local function definitions in C files.

date 2019-11-01T19:33:09Z
author mpi
files src/sys/uvm/uvm_map.c log diff annotate
message Push the KERNEL_LOCK() down in uvm_map_inentry().

The lookup in uvm_map_inentry_fix() is already serialized by the
vm_map_lock and such lookup is already executed w/o the KERNEL_LOCK().

ok kettenis@, deraadt@

date 2019-11-01T20:54:52Z
author deraadt
files src/sys/arch/octeon/stand/rdboot/rdboot.c log diff annotate
src/sys/lib/libsa/stand.h log diff annotate
message Reduce BOOTRANDOM_MAX to 256. naddy pointed out there's no point having
it larger than RC4STATE. A long discussion ensued. In conclusion all
entropy inputs are either satisfactory enough, or just as shitty at 512.

date 2019-11-01T20:58:01Z
author mpi
files src/sys/kern/kern_sched.c log diff annotate
src/sys/kern/sched_bsd.c log diff annotate
message Kill resched_proc() and instead call need_resched() when a thread is
added to the runqueue of a CPU.

This fix out-of-sync cases when the priority of a thread wasn't reflecting
the runqueue it was sitting in leading to unnecessary context switch.

ok visa@