OpenBSD cvs log

created 2019-05-08T22:27:38Z
begin 2018-03-05T00:00:00Z
end 2018-03-06T00:00:00Z
path src/sys
commits 6

date 2018-03-05T01:15:24Z
author deraadt
files src/sys/arch/alpha/include/_types.h log diff annotate
message #define _MAX_PAGE_SHIFT in MD _types.h as the maximum pagesize an arch
needs (looking at you sgi, but others required this before). This is for
the circumstances we need pagesize known at compile time, not getpagesize()
runtime. Use it for malloc storage sizes, for shm, and to set pthread stack
default sizes. The stack sizes were a mess, and pushing them towards
page-aligned is healthy move (which will also be needed by the coming
stack register checker)
ok guenther kettenis, discussion with stefan

date 2018-03-05T01:15:25Z
author deraadt
files src/sys/arch/amd64/include/_types.h log diff annotate
src/sys/arch/arm/include/_types.h log diff annotate
src/sys/arch/arm64/include/_types.h log diff annotate
src/sys/arch/hppa/include/_types.h log diff annotate
src/sys/arch/i386/include/_types.h log diff annotate
src/sys/arch/m88k/include/_types.h log diff annotate
src/sys/arch/mips64/include/_types.h log diff annotate
src/sys/arch/powerpc/include/_types.h log diff annotate
src/sys/arch/sh/include/_types.h log diff annotate
src/sys/arch/sparc64/include/_types.h log diff annotate
message #define _MAX_PAGE_SHIFT in MD _types.h as the maximum pagesize an arch
needs (looking at you sgi, but others required this before). This is for
the circumstances we need pagesize known at compile time, not getpagesize()
runtime. Use it for malloc storage sizes, for shm, and to set pthread stack
default sizes. The stack sizes were a mess, and pushing them towards
page-aligned is healthy move (which will also be needed by the coming
stack register checker)
ok guenther kettenis, discussion with stefan

date 2018-03-05T01:15:26Z
author deraadt
files src/sys/sys/shm.h log diff annotate
src/sys/sys/signal.h log diff annotate
message #define _MAX_PAGE_SHIFT in MD _types.h as the maximum pagesize an arch
needs (looking at you sgi, but others required this before). This is for
the circumstances we need pagesize known at compile time, not getpagesize()
runtime. Use it for malloc storage sizes, for shm, and to set pthread stack
default sizes. The stack sizes were a mess, and pushing them towards
page-aligned is healthy move (which will also be needed by the coming
stack register checker)
ok guenther kettenis, discussion with stefan

date 2018-03-05T01:39:13Z
author deraadt
files src/sys/arch/arm/include/vmparam.h log diff annotate
message Do not redefine PAGE_SHIFT/PAGE_SIZE/PAGE_MASK in vmparam.h; those
definitions are already found in param.h
ok jsg

date 2018-03-05T03:31:39Z
author jsg
files src/sys/kern/subr_disk.c log diff annotate
message fix a memory leak in readdoslabel()
ok krw@

date 2018-03-05T11:32:05Z
author jmatthew
files src/sys/dev/usb/ohci.c log diff annotate
message Move completed transfer descriptors to the freelist before calling
usb_transfer_complete, so that if we need to allocate a new one (as in the
case of interrupt endpoints) we will always be able to do so without
allocating a new chunk. Mapping a new chunk involves allocating from the
kernel map, which is not safe to do from interrupt context.

fixes a panic reported by semarie
ok visa@ krw@ (before a last minute tweak)