OpenBSD cvs log

created 2019-05-08T03:07:41Z
begin 2017-11-19T00:00:00Z
end 2017-11-20T00:00:00Z
path src/sys
commits 3

date 2017-11-19T13:18:13Z
author visa
files src/sys/arch/amd64/amd64/Attic/lock_machdep.c log diff annotate
src/sys/arch/i386/i386/Attic/lock_machdep.c log diff annotate
src/sys/arch/mips64/mips64/Attic/lock_machdep.c log diff annotate
src/sys/arch/sparc64/sparc64/Attic/lock_machdep.c log diff annotate
message Remove lock_machdep.c from amd64, i386, mips64 and sparc64.
The architectures have been using the MI mplock for a while.

OK deraadt@, kettenis@

date 2017-11-19T13:43:06Z
author mikeb
files src/sys/dev/rnd.c log diff annotate
message Remove interlocks between producers and consumers of randomness data

A lot of randomness event producers are executed in the interrupt
context increasing the time spent in the interrupt handler resulting
in extra costs when adding randomness data to the pool. However, in
practice randomness event producers require interlocking between each
other, but not with with consumers due to the opportunistic nature of
event consumers.

To be able to take advantage of this idea, the ring buffer indexing
is now done with two free running producer and consumer counters modulo
power of 2 size of the ring buffer.

With input from and OK visa, tb, jasper

date 2017-11-19T15:42:07Z
author kettenis
files src/sys/dev/fdt/sxiccmu.c log diff annotate
src/sys/dev/fdt/sxiccmu_clocks.h log diff annotate
message Implement support for the "next-generation" clock bindings for the
Allwinner A10/A20.