C11 visibility in libc++

2019-12-06 Thread Jonathan Gray
While we don't have C11's quick_exit() we do have timespec_get() and struct timespec/aligned_alloc(). Index: include/__config === RCS file: /cvs/src/lib/libcxx/include/__config,v retrieving revision 1.6 diff -u -p -r1.6 __config --- i

Re: [PATCH] attach pvclock with lower priority if tsc is unstable

2019-12-06 Thread Mike Larkin
On Fri, Dec 06, 2019 at 02:16:43PM -0800, Pratik Vyas wrote: > * Pratik Vyas [2019-11-24 23:07:26 -0800]: > > > Hello tech@, > > > > This diff attaches pvclock with lower priority (500) in case of unstable > > tsc (PVCLOCK_FLAG_TSC_STABLE) instead of not attaching at all. > > > > For reference

Re: [PATCH] attach pvclock with lower priority if tsc is unstable

2019-12-06 Thread Pratik Vyas
* Pratik Vyas [2019-11-24 23:07:26 -0800]: Hello tech@, This diff attaches pvclock with lower priority (500) in case of unstable tsc (PVCLOCK_FLAG_TSC_STABLE) instead of not attaching at all. For reference current priorities, tsc (variant) : -2000 i8254 : 0 acpitimer

Re: uvm/uvm_map.h cleanup

2019-12-06 Thread Mike Larkin
On Thu, Dec 05, 2019 at 07:25:51PM +0100, Martin Pieuchot wrote: > Following cleanup diff: > > - reduces gratuitous differences with NetBSD, > - merges multiple '#ifdef _KERNEL' blocks, > - kills unused 'struct vm_map_intrsafe' > - turns 'union vm_map_object' into a anonymous union (following to N

vmctl: parse_size(): Use local variable instead of function parameter

2019-12-06 Thread Klemens Nanni
The parse_size() wrapper around scan_scaled(3) writes its intermediate result to the function argument which is always passed as literal zero. This seems odd, the function parameter has no meaning but merely serves as storage, so let's use a proper function scoped variable instead. OK? Index: m

first part of output splitting in bgpctl

2019-12-06 Thread Claudio Jeker
The output processing in bgpctl is not very extensible. And output flags like ssv have to hacked into the output in a bad way. This is the first bit of a much bigger shuffling action to make the output handling more extensible. For now this just moves the header and body generation into two functi

Re: massage tcpdump ip and encapsulation output

2019-12-06 Thread Claudio Jeker
On Fri, Dec 06, 2019 at 12:16:09PM +0100, Sebastian Benoit wrote: > David Gwynne(da...@gwynne.id.au) on 2019.12.06 15:14:42 +1000: > > > > > > > On 5 Dec 2019, at 21:14, Sebastian Benoit wrote: > > > > > > Claudio Jeker(cje...@diehard.n-r-g.com) on 2019.12.05 09:53:49 +0100: > > >> I would sugg

Re: massage tcpdump ip and encapsulation output

2019-12-06 Thread Sebastian Benoit
David Gwynne(da...@gwynne.id.au) on 2019.12.06 15:14:42 +1000: > > > > On 5 Dec 2019, at 21:14, Sebastian Benoit wrote: > > > > Claudio Jeker(cje...@diehard.n-r-g.com) on 2019.12.05 09:53:49 +0100: > >> I would suggest to just pack most of the headers into one group of (). > >> > >> IPv4 ttl 1

Re: massage tcpdump ip and encapsulation output

2019-12-06 Thread Stuart Henderson
On 2019/12/06 15:14, David Gwynne wrote: > > > > On 5 Dec 2019, at 21:14, Sebastian Benoit wrote: > > > > Claudio Jeker(cje...@diehard.n-r-g.com) on 2019.12.05 09:53:49 +0100: > >> I would suggest to just pack most of the headers into one group of (). > >> > >> IPv4 ttl 1 [tos 0x20] 10.0.127.1