On Sun, Apr 15, 2012 at 07:30:21PM +0200, Ariane van der Steldt wrote: > Hi, > > The reaper is not very nice: it blocks any access to the kernel (i.e. > syscalls) until it is done with its work. For big processes, this may > result in stalls in userspace. This diff attempts to relieve it by > yielding the reaper during this operation. > > Please test this diff (vmmap_reaperyield.diff.0).
Hi. I can't compile the kernel with your patch. OpenBSD 5.1-current (GENERIC.MP) #1: Thu Apr 12 01:08:24 CEST 2012 juan...@portatil.juanfra.info:/usr/src/sys/arch/i386/compile/GENERIC.MP cc -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-main -Wno-uninitialized -Wno-format -Wstack-larger-than-2047 -fno-builtin-printf -fno-builtin-snprintf -fno-builtin-vsnprintf -fno-builtin-log -fno-builtin-log2 -fno-builtin-malloc -O2 -pipe -nostdinc -I. -I../../../..-I../../../../arch -DDDB -DDIAGNOSTIC -DKTRACE -DACCOUNTING -DKMEMSTATS -DPTRACE -DPOOL_DEBUG -DCRYPTO -DSYSVMSG -DSYSVSEM -DSYSVSHM -DUVM_SWAP_ENCRYPT -DCOMPAT_43 -DCOMPAT_O48 -DLKM -DFFS -DFFS2 -DFFS_SOFTUPDATES -DUFS_DIRHASH -DQUOTA -DEXT2FS -DMFS -DNFSCLIENT -DNFSSERVER -DCD9660 -DUDF -DMSDOSFS -DFIFO -DSOCKET_SPLICE -DTCP_SACK -DTCP_ECN -DTCP_SIGNATURE -DINET -DALTQ -DINET6 -DIPSEC -DPPP_BSDCOMP -DPPP_DEFLATE -DPIPEX -DMROUTING -DMPLS -DBOOT_CONFIG -DUSER_PCICONF -DKVM86 -DUSER_LDT -DAPERTURE -DCOMPAT_LINUX -DPROCFS -DNTFS -DPCIVERBOSE -DEISAVERBOSE -DUSBVERBOSE -DWSDISPLAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD -DWSDISPLAY_DEFAULTSCREENS="6" -DWSDISPLAY_COMPAT_PCVT -DX86EMU -DONEWIREVERBOSE -DMULTIPROCESSOR -DMAXUSERS=80 -D_KERNEL -MD -MP -c ../../../../arch/i386/i386/pmap.c ../../../../arch/i386/i386/pmap.c: In function 'pmap_free_pvpage': ../../../../arch/i386/i386/pmap.c:1275: error: too few arguments to function 'uvm_unmap_detach' *** Error code 1 Stop in /usr/src/sys/arch/i386/compile/GENERIC.MP (line 89 of /usr/share/mk/sys.mk). Cheers. -- Juan Francisco Cantero Hurtado http://juanfra.info