svn commit: r339077 - head/lib/libc/amd64/string

2018-10-01 Thread Mateusz Guzik
Author: mjg Date: Mon Oct 1 20:39:17 2018 New Revision: 339077 URL: https://svnweb.freebsd.org/changeset/base/339077 Log: amd64: reimplement libc memset and bzero with kernel memset This is a depessimization, see r334537 for an explanation. Routines remain significantly slower than they

svn commit: r339076 - head/sys/cam/scsi

2018-10-01 Thread Kenneth D. Merry
Author: ken Date: Mon Oct 1 19:00:46 2018 New Revision: 339076 URL: https://svnweb.freebsd.org/changeset/base/339076 Log: Fix a da(4) driver memory leak for SCSI SMR devices. In the probe case for SCSI SMR Host Aware or Most Managed drives, be sure to free allocated memory.

svn commit: r339074 - in head/sys: arm64/arm64 arm64/include conf kern

2018-10-01 Thread Andrew Turner
Author: andrew Date: Mon Oct 1 18:51:08 2018 New Revision: 339074 URL: https://svnweb.freebsd.org/changeset/base/339074 Log: Add kernel ifunc support on arm64. Tested with ifunc resolvers in the kernel and module with calls from kernel to kernel, module to kernel, and module to module.

svn commit: r339075 - in head/sys: sys vm

2018-10-01 Thread Mark Johnston
Author: markj Date: Mon Oct 1 18:51:39 2018 New Revision: 339075 URL: https://svnweb.freebsd.org/changeset/base/339075 Log: Use an unsigned iterator for domain sets. Otherwise (iter % ds->ds_cnt) is not guaranteed to lie in the range [0, MAXMEMDOM). Reported by: pho Reviewed by:

svn commit: r339073 - in head/sys: amd64/amd64 i386/i386

2018-10-01 Thread Mark Johnston
Author: markj Date: Mon Oct 1 18:48:33 2018 New Revision: 339073 URL: https://svnweb.freebsd.org/changeset/base/339073 Log: Apply r339046 to i386. Belatedly add a comment to the amd64 pmap explaining why we initialize the kernel pmap's resident page count. Reviewed by: alc, kib

svn commit: r339072 - head/libexec/rtld-elf/powerpc

2018-10-01 Thread Andreas Tobler
Author: andreast Date: Mon Oct 1 18:46:35 2018 New Revision: 339072 URL: https://svnweb.freebsd.org/changeset/base/339072 Log: This commit reverts 338930. The approach was wrong. Fix the issue with subtracting the TLS_TCB_SIZE too when we are trying to get the 'where' in the

svn commit: r339071 - head/usr.bin/nfsstat

2018-10-01 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Oct 1 18:26:41 2018 New Revision: 339071 URL: https://svnweb.freebsd.org/changeset/base/339071 Log: Remove references to the "new" NFS clients and servers. The "old" NFS stack is long gone. Approved by: re (gjb) MFC after:2 weeks Sponsored by: DARPA,

svn commit: r339064 - head/usr.sbin/pmc

2018-10-01 Thread Ruslan Bukin
Author: br Date: Mon Oct 1 16:16:05 2018 New Revision: 339064 URL: https://svnweb.freebsd.org/changeset/base/339064 Log: Fix build with GCC 8.1. GCC 8.1 failed to build LLVM's libc++ when -Wshadow is set, so lower down WARNS flag to 3. This is similar to dtc(1) which uses libc++

svn commit: r339047 - head/lib/libbe

2018-10-01 Thread Kyle Evans
Author: kevans Date: Mon Oct 1 14:57:33 2018 New Revision: 339047 URL: https://svnweb.freebsd.org/changeset/base/339047 Log: libbe(3): Fix BE activation promoting activated BE This allows older BEs to be destroyed as they become replaced by a BE created from them: e.g. bectl create

svn commit: r339046 - head/sys/amd64/amd64

2018-10-01 Thread Mark Johnston
Author: markj Date: Mon Oct 1 14:47:49 2018 New Revision: 339046 URL: https://svnweb.freebsd.org/changeset/base/339046 Log: Count bootstrap data as resident in the kernel pmap. Such data may later be unmapped. This occurs, for example, when a loader-provided microcode update file is

Re: svn commit: r335584 - head/sys/crypto/aesni

2018-10-01 Thread Alan Somers
On Sat, Jun 23, 2018 at 12:20 PM Conrad Meyer wrote: > Author: cem > Date: Sat Jun 23 18:20:17 2018 > New Revision: 335584 > URL: https://svnweb.freebsd.org/changeset/base/335584 > > Log: > aesni(4): Fix {de,en}crypt operations that allocated a buffer > > aesni(4) allocates a contiguous

svn commit: r339041 - head/libexec/rtld-elf/aarch64

2018-10-01 Thread Andrew Turner
Author: andrew Date: Mon Oct 1 14:02:29 2018 New Revision: 339041 URL: https://svnweb.freebsd.org/changeset/base/339041 Log: Add STT_GNU_IFUNC and R_AARCH64_IRELATIVE support on arm64. This is based on the amd64 implementation. Support for both PLT and non-PLT (e.g. a global variable

svn commit: r339040 - head/sys/netinet

2018-10-01 Thread Michael Tuexen
Author: tuexen Date: Mon Oct 1 13:09:18 2018 New Revision: 339040 URL: https://svnweb.freebsd.org/changeset/base/339040 Log: After allocating chunks set the fields in a consistent way. This removes two assignments for the flags field being done twice and adds one, which was missing.

Re: svn commit: r339043 - in head/sys: kern vm x86/acpica

2018-10-01 Thread Andrew Gallatin
On 10/1/18 10:14 AM, Andrew Gallatin wrote: Author: gallatin Date: Mon Oct 1 14:14:21 2018 New Revision: 339043 URL:

svn commit: r339044 - head/sys/arm64/include

2018-10-01 Thread Emmanuel Vadot
Author: manu Date: Mon Oct 1 14:27:53 2018 New Revision: 339044 URL: https://svnweb.freebsd.org/changeset/base/339044 Log: arm64: Raise again L3 table for early devmap The initial raise in r336519 wasn't enough for using big resolution (1920 x 1200 for example). Raise it again.

svn commit: r339043 - in head/sys: kern vm x86/acpica

2018-10-01 Thread Andrew Gallatin
Author: gallatin Date: Mon Oct 1 14:14:21 2018 New Revision: 339043 URL: https://svnweb.freebsd.org/changeset/base/339043 Log: Allow empty NUMA memory domains to support Threadripper2 The AMD Threadripper 2990WX is basically a slightly crippled Epyc. Rather than having 4 memory

Re: svn commit: r339042 - head/sys/netinet

2018-10-01 Thread Michael Tuexen
> On 1. Oct 2018, at 16:05, Michael Tuexen wrote: > > Author: tuexen > Date: Mon Oct 1 14:05:31 2018 > New Revision: 339042 > URL: https://svnweb.freebsd.org/changeset/base/339042 > > Log: > Mitigate providing a timing signal if the COOKIE or AUTH > validation fails. > Thanks to jmg@ for

svn commit: r339042 - head/sys/netinet

2018-10-01 Thread Michael Tuexen
Author: tuexen Date: Mon Oct 1 14:05:31 2018 New Revision: 339042 URL: https://svnweb.freebsd.org/changeset/base/339042 Log: Mitigate providing a timing signal if the COOKIE or AUTH validation fails. Thanks to jmg@ for reporting the issue, which was discussed in

svn commit: r339039 - head/sys/netinet

2018-10-01 Thread Andrey V. Elsukov
Author: ae Date: Mon Oct 1 10:46:00 2018 New Revision: 339039 URL: https://svnweb.freebsd.org/changeset/base/339039 Log: Add INP_INFO_WUNLOCK_ASSERT() macro and use it instead of INP_INFO_UNLOCK_ASSERT() in TCP-related code. For encapsulated traffic it is possible, that the code is running

svn commit: r339038 - head/sys/dev/iwm

2018-10-01 Thread Bjoern A. Zeeb
Author: bz Date: Mon Oct 1 10:44:33 2018 New Revision: 339038 URL: https://svnweb.freebsd.org/changeset/base/339038 Log: Fix the MODULE_PNP_INFO() for iwm(4) where I got the bus and module arguments wrong in r339020. PR: 231625 Reported by: Yuri Pankov