per-cpu caches for pools

2016-10-23 Thread David Gwynne
ive posted this before as part of a much bigger diff, but smaller is better. it basically lets things ask for per-cpu item caches to be enabled on pools. the most obvious use case for this is the mbuf pools. the caches are modelled on whats described in the "Magazines and Vmem: Extending the Slab

(re)name cpumem_realloc to cpumem_malloc_ncpus

2016-10-23 Thread David Gwynne
cos its not resizing the allocation, its allocating them for new cpus. the same goes for counters_realloc being named counters_alloc_ncpus. this adds doco for them too. ok? Index: share/man/man9/counters_alloc.9 === RCS file: /cvs/

Re: fix carp "carppeer" + "real mac-address"

2016-10-23 Thread YASUOKA Masahiko
FYI. I just commited regress tests on regress/netinet/carp/ . carp_4.sh demostrates the problem which the diff fixes. On Tue, 18 Oct 2016 19:33:01 +0900 (JST) YASUOKA Masahiko wrote: > Currenlty when carppeer + "real mac-address" are used at once, > changing MASTER by carpdemote causes "MASTER-M

Re: Quirks for pkcbc?

2016-10-23 Thread Theo de Raadt
> Since the patch isn't a proper solution, I was wondering whether there's > a quirks mechanism for pckbc, similar to what e.g. some of the USB HID > drivers do for things like joysticks with weird button mappings. No way. quirk layers are really unacceptable to maintain in the long term. Instead,

Quirks for pkcbc?

2016-10-23 Thread Gregor Best
Hi people, the patch below the signature makes the touchpad on my new laptop work. pms(4) didnt' attach previously because the AUX slot on the keyboard was not enabled. Since the patch isn't a proper solution, I was wondering whether there's a quirks mechanism for pckbc, similar to what e.g. some

Re: FAQ entry for vmm

2016-10-23 Thread Edd Barrett
Hi, On Wed, Oct 19, 2016 at 06:42:08PM +0200, Daniel Jakots wrote: > The second sentence in the FAQ is 'It covers the latest release of > OpenBSD.'. Maybe it would be worth adding a sentence about the fact > that it covers mainly current (as in -stable vmm is not enabled). Just to keep the list i

snmpd(8): turn snmpd_env the only global

2016-10-23 Thread Rafael Zalamena
This diff removes all "extern struct snmpd *" lines from source files, replaces all 'env' occurences with 'snmpd_env' and adds the extern declaration for snmpd_env in the snmpd.h header. With this diff we only need to guarantee that this variable is set, we avoid shadowing other 'env' variables an

Re: FreeType 2.7

2016-10-23 Thread Matthieu Herrb
On Sat, Oct 22, 2016 at 02:24:39PM +0200, Matthieu Herrb wrote: > On Sat, Oct 22, 2016 at 02:02:12PM +0200, David Coppa wrote: > > On Sat, Oct 22, 2016 at 11:52 AM, Matthieu Herrb wrote: > > > On Mon, Oct 10, 2016 at 12:46:41PM +0200, David Coppa wrote: > > >> > > >> Hi all, > > >> > > >> Here's t