CVSROOT: /cvs Module name: src Changes by: dera...@cvs.openbsd.org 2018/03/04 18:15:26
Modified files: sys/arch/alpha/include: _types.h sys/arch/amd64/include: _types.h sys/arch/arm/include: _types.h sys/arch/arm64/include: _types.h sys/arch/hppa/include: _types.h sys/arch/i386/include: _types.h sys/arch/m88k/include: _types.h sys/arch/mips64/include: _types.h sys/arch/powerpc/include: _types.h sys/arch/sh/include: _types.h sys/arch/sparc64/include: _types.h include : pthread.h sys/sys : shm.h signal.h Log 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