Re: Fix ilogb(3)

2020-11-06 Thread George Koehler
Your ilogb fix is ok gkoehler@ On Sat, 31 Oct 2020 16:09:07 +0100 (CET) Mark Kettenis wrote: > - Dropping the amd64 and i386 versions. Fixing the corner cases in > assembly is hard, and the C implementation should be fast enough for > regular floating-point values. The amd64 and i386

httpd(8): fix location access test with empty server root

2020-11-06 Thread Matthias Pressfreund
Given the following httpd(8) configuration: server "example.com" { ... location found "/htdocs*" { root "" directory auto index } ... } Instead of showing the directory index, accessing http://example.com/htdocs fails with status

Re: Convert ffs_sysctl to sysctl_bounded_args

2020-11-06 Thread Todd C . Miller
On Sun, 01 Nov 2020 20:16:35 -0800, Greg Steuck wrote: > How does the encoding of sysctl_rdint as [1,0] sound? I think this is OK. We already have the special case where min == max. OK millert@ - todd

sendsig() & sigexit()

2020-11-06 Thread Martin Pieuchot
Diff below moves the various sigexit() from all MD sendsig() to the MI trapsignal(). Apart from the obvious code simplification, this will help with locking as sigexit() does not return. ok? Index: arch/alpha/alpha/machdep.c ===

uvm_fault: split out handling of case 1

2020-11-06 Thread Martin Pieuchot
Diff below moves the logic dealing with faults of case 1A & 1B to its own function. With this, the logic in uvm_fault() now only deals with case 2 and the various if/else/goto dances can be simplified. As for the previous refactoring diffs, the name is taken from NetBSD but the implementation is

Re: diff: tcp ack improvement

2020-11-06 Thread Jan Klemkow
On Fri, Nov 06, 2020 at 08:03:36AM +0100, Otto Moerbeek wrote: > On Fri, Nov 06, 2020 at 01:10:52AM +0100, Jan Klemkow wrote: > > bluhm and I make some network performance measurements and kernel > > profiling. > > > > Setup: Linux (iperf) -10gbit-> OpenBSD (relayd) -10gbit-> Linux (iperf) >