Re: idle pool page gc

2015-01-18 Thread David Gwynne
On Sun, Jan 18, 2015 at 11:12:47PM -0500, Ted Unangst wrote: > On Mon, Jan 19, 2015 at 11:28, David Gwynne wrote: > > >> if you're interested in seeing the effect of freeing at different > >> intervals, you could try the diff below. it adds kern.pool.wait_free > >> and kern.pool.wait_gc tunables s

Re: idle pool page gc

2015-01-18 Thread Ted Unangst
On Mon, Jan 19, 2015 at 11:28, David Gwynne wrote: >> if you're interested in seeing the effect of freeing at different >> intervals, you could try the diff below. it adds kern.pool.wait_free >> and kern.pool.wait_gc tunables so you can set how long a page has >> to be idle before a pool_put and t

Re: km_alloc/km_free optimization

2015-01-18 Thread David Gwynne
> On 30 Dec 2014, at 22:49, Mark Kettenis wrote: > >> From: David Gwynne >> Date: Tue, 30 Dec 2014 21:53:46 +1000 >> >>> On 29 Dec 2014, at 7:55 am, Mark Kettenis wrote: >>> Date: Sun, 28 Dec 2014 20:56:33 +0100 (CET) From: Mark Kettenis P.S. I would not be surprised if

Re: idle pool page gc

2015-01-18 Thread David Gwynne
> On 23 Dec 2014, at 11:38, David Gwynne wrote: > > On Mon, Dec 22, 2014 at 10:54:16AM -0500, Ted Unangst wrote: >> On Mon, Dec 22, 2014 at 14:59, Mike Belopuhov wrote: >>> 1) how is it different from what we have now? >>> >>> 2) why can't you do it when you pool_put? >> >> Right now, if you a

Re: [patch] siphash static functions

2015-01-18 Thread David Gwynne
> On 16 Jan 2015, at 20:45, Fritjof Bornebusch wrote: > > Hi tech@, > > aren't these functions supposed to be static? no, static functions in the kernel means the debugger cant see their names, and we like seeing things in the debugger. they probably should be static in userland though... >

Re: massage volume control task

2015-01-18 Thread David Gwynne
> On 17 Jan 2015, at 11:06, Jim Smith wrote: > > On 2 Jan 2015, at 4:15 pm, David Gwynne wrote: > >> can someone test this? >> >> it allocates storage for the volume change details rather than cast >> arguments to a single global task. >> >> adds some safety while there if audio0 is a hotplu

ssh-keygen.c fails to build

2015-01-18 Thread Ian Mcwilliam
This change seems to have broken ssh-keygen.c http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/ssh-keygen.c.diff?r1=1.252&r2=1.253 Ian McWilliam ssh-keygen_c.diff Description: ssh-keygen_c.diff

Fix crash on ldapd while parsing schema

2015-01-18 Thread Jihyun Yu
Hi, I found a crash on ldapd while parsing schema file, and wrote a fix for the crash. It's first time for me to send a patch to OpenBSD, so if there's any problem please let me know. The crash is found on -CURRENT, and the patch is written based on latest CVS version. nis.schema from -CURRENT an