Re: TSC synchronization on MP machines

2019-08-06 Thread Theo Buehler
/* * Version of https://marc.info/?l=openbsd-tech&m=155978126517159&w=2 * without non-breaking spaces, thus appeasing -Wunicode-whitespace. */ #include #include #include #include int main(void) { int r; struct timespec tp1, tp2, tout; tout.tv_sec = 0; tout.t

Re: TSC synchronization on MP machines

2019-08-06 Thread Theo Buehler
> There is another test program flying around the mailing lists I guess, > but I could not locate it now so if someone is kind enough to reply with > the code, that would be lovely! I think this is the program you're looking for: https://marc.info/?l=openbsd-tech&m=155978126517159&w=2

Re: TSC synchronization on MP machines

2019-08-06 Thread Paul Irofti
Hi, Here is a fourth diff addressing all the issues so far, that have been mainly pointed out by kettenis@, thanks! Changes: - stop resetting the observed drift as it does not affect tsc re-initialization on resume, thus removing all changes from acpi_machdep.c

Re: unveil pathname pool

2019-08-06 Thread Alexander Bluhm
On Tue, Aug 06, 2019 at 06:57:49AM +0200, Sebastien Marie wrote: > On Mon, Aug 05, 2019 at 07:21:22PM +0200, Alexander Bluhm wrote: > > unveil(2) allocates 1024 bytes on the stack. That is a lot. Better > > use namei pool like sys___realpath() does. > > There is a missing pool_put() in early retu

bgpd properly implement RFC7607 (AS 0 processing)

2019-08-06 Thread Claudio Jeker
Found while looking for something else. We did not fully implement RFC7607 the AGGREGATOR and AS4_AGGREGATOR could slip through a AS 0. This fixes the issue. While there also change the check in parse.y to only allow AS 0 for templates (the only case where remote-as can be 0 aka uninitalized). Last

NSD 4.2.1

2019-08-06 Thread Stuart Henderson
Here's an update to NSD 4.2.1 (we're currently at 4.1.7 so see entries from 21 March onwards in changelog). https://github.com/NLnetLabs/nsd/blob/NSD_4_2_1_REL/doc/ChangeLog I haven't read it thoroughly yet but thought I'd send it out early to save anyone doing duplicate work. (There is also 4.2.