OpenBSD cvs log

created 2020-02-01T18:33:20Z
begin 2020-01-30T00:00:00Z
end 2020-01-31T00:00:00Z
path src/sys
commits 6

date 2020-01-30T08:51:27Z
author mpi
files src/sys/arch/sparc64/sparc64/db_interface.c log diff annotate
src/sys/dev/pci/drm/i915/intel_breadcrumbs.c log diff annotate
src/sys/kern/kern_fork.c log diff annotate
src/sys/kern/kern_proc.c log diff annotate
src/sys/kern/kern_sched.c log diff annotate
src/sys/kern/kern_sig.c log diff annotate
src/sys/kern/kern_synch.c log diff annotate
src/sys/kern/sched_bsd.c log diff annotate
src/sys/sys/proc.h log diff annotate
src/sys/sys/sysctl.h log diff annotate
message Split `p_priority' into `p_runpri' and `p_slppri'.

Using different fields to remember in which runqueue or sleepqueue
threads currently are will make it easier to split the SCHED_LOCK().

With this change, the (potentially boosted) sleeping priority is no
longer overwriting the thread priority. This let us get rids of the
logic required to synchronize `p_priority' with `p_usrpri'.

Tested by many, ok visa@

date 2020-01-30T15:24:06Z
author visa
files src/sys/kern/syscalls.master log diff annotate
message Unlock close*(2) and dup*(2).

Tested by krw@, anton@
OK mpi@, anton@

date 2020-01-30T15:24:55Z
author visa
files src/sys/kern/init_sysent.c log diff annotate
src/sys/kern/syscalls.c log diff annotate
src/sys/sys/syscall.h log diff annotate
src/sys/sys/syscallargs.h log diff annotate
message regen

date 2020-01-30T15:33:04Z
author visa
files src/sys/sys/filedesc.h log diff annotate
message Update lock annotations of struct filedesc.

Requested by and OK mpi@
OK anton@

date 2020-01-30T15:36:11Z
author visa
files src/sys/kern/vfs_syscalls.c log diff annotate
message Acquire fdplock when updating fd_cmask. This moves the code
toward MP-safety.

OK mpi@, anton@

date 2020-01-30T21:17:59Z
author dlg
files src/sys/net/if_tun.c log diff annotate
message device poll handlers should return POLL flags, not errnos.

this restores restores returning POLLERR when the device is gone.
ENXIO doesn't make much sense as part of a pollfd revents field.