OpenBSD cvs log

created 2021-06-26T16:56:34Z
begin 2021-06-19T00:00:00Z
end 2021-06-20T00:00:00Z
path src/sys
commits 4

date 2021-06-19T01:17:34Z
author mlarkin
files src/sys/arch/riscv64/conf/RAMDISK log diff annotate
message oce(4) in RAMDISK for riscv64

date 2021-06-19T02:05:33Z
author cheloha
files src/sys/kern/kern_fork.c log diff annotate
src/sys/kern/kern_timeout.c log diff annotate
src/sys/sys/timeout.h log diff annotate
message timeout(9): change argument order for timeout_set_kclock()

Move the kclock argument before the flags argument. XORing a bunch of
flags together may "sprawl", and I'd rather have any sprawl at the end
of the parameter list.

timeout_set_kclock() is undocumented and there is only one caller, so
no big refactor required.

Best to do this argument order shuffle before any bigger refactors of
e.g. timeout_set(9).

date 2021-06-19T13:49:39Z
author cheloha
files src/sys/kern/kern_tc.c log diff annotate
src/sys/sys/time.h log diff annotate
message timecounting: add FRAC_TO_NSEC(), BINTIME_TO_NSEC()

Refactor the fraction-to-nanosecond conversion from BINTIME_TO_TIMESPEC()
into a dedicated routine, FRAC_TO_NSEC(), so we can reuse it elsewhere.

Then add a new BINTIME_TO_NSEC() function to sys/time.h to deduplicate
conversion code in nsecuptime(), getnsecuptime(), and tc_setclock().

Thread: https://marc.info/?l=openbsd-tech&m=162376993926751&w=2

ok dlg@

date 2021-06-19T22:11:08Z
author kettenis
files src/sys/arch/riscv64/riscv64/fpu.c log diff annotate
message Assert that fpu_load() only gets called with the FPU "off".

ok drahn@