Re: svn commit: r326347 - in head/sys: kern sys vm

2017-12-07 Thread Andriy Gapon
On 29/11/2017 01:40, Jeff Roberson wrote: > Eliminate kmem_arena and kmem_object in preparation for further NUMA > commits. > > The arena argument to kmem_*() is now only used in an assert. A follow-up > commit will remove the argument altogether before we freeze the API for the > next

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-07 Thread Hans Petter Selasky
On 12/07/17 01:50, Bryan Drewery wrote: 8. And you blew away my Makefile.depend files, which I do normally say I'll deal with, but a far simpler directory structure movement would have easily kept them and I could have updated them. But now there's not even something to start from since they were

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-07 Thread Hans Petter Selasky
On 12/07/17 01:48, Bryan Drewery wrote: 7. We don't put FreeBSD Makefiles in the same directory as contributed files. It's against the pattern. So moving contrib/ofed/usr.lib/* to contrib/ofed/*/ is wrong. It complicates future merges of contrib code. Really none of these Makefiles should be in c

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-07 Thread Hans Petter Selasky
On 12/07/17 02:02, Bryan Drewery wrote: On 12/6/2017 4:53 PM, Hans Petter Selasky wrote: On 12/07/17 01:38, Bryan Drewery wrote: Try building the COMPAT 32-bit libraries with OFED and you'll see that this is needed! No. The proper fix is to add contrib/ofed/include to the _LC_INCDIRS.${MK_OF

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-07 Thread Hans Petter Selasky
On 12/07/17 02:32, Bryan Drewery wrote: This is what buildworld+SUBDIR_OVERRIDE is for. The following patch also mitigates the need to install libraries for build testing which I'll commit tomorrow: Nice! I will try to check it out. --HPS ___ svn-sr

svn commit: r326657 - head/sys/ufs/ufs

2017-12-07 Thread Konstantin Belousov
Author: kib Date: Thu Dec 7 09:05:34 2017 New Revision: 326657 URL: https://svnweb.freebsd.org/changeset/base/326657 Log: Fix livelock in ufsdirhash_create(). When more than one thread enters ufsdirhash_create() for the same directory and the inode dirhash is instantiated, but the dirhas

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-07 Thread Hans Petter Selasky
On 12/07/17 02:41, Bryan Drewery wrote: On 12/6/2017 4:53 PM, Hans Petter Selasky wrote: On 12/07/17 01:38, Bryan Drewery wrote: 1. SUBDIR=../../somewhere else is inherently wrong. 2. Building a library from a directory named '2' is wrong. 3. Not just using proper SUBDIR_DEPEND and making all t

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-07 Thread Hans Petter Selasky
FYI: The main targets for contrib/ofed is currently [i386 and] amd64. I see there are some minor build issues for other targets, and these will be fixes as we go along. Currently contrib/ofed is not connected to the default buildworld and this should not cause any problems for the average Fre

Re: svn commit: r326383 - head/sys/x86/cpufreq

2017-12-07 Thread Alexey Dokuchaev
On Thu, Nov 30, 2017 at 03:08:49PM -0500, Jung-uk Kim wrote: > ... > Probably. However, I am just trying to fix my FX-8350 and A10-6800 and > I don't have Zen processors to verify the MSRs are actually working on > those CPUs. Ah, that's so lovely, thanks Jung-uk; I feel that our support for AMD

svn commit: r326658 - head/lib/libefivar

2017-12-07 Thread Mark Johnston
Author: markj Date: Thu Dec 7 15:16:17 2017 New Revision: 326658 URL: https://svnweb.freebsd.org/changeset/base/326658 Log: Ensure that "out" is initialized in all error paths. Reported by: gcc Reviewed by: cem Differential Revision:https://reviews.freebsd.org/D13402 Modifie

svn commit: r326659 - head/share/mk

2017-12-07 Thread Bryan Drewery
Author: bdrewery Date: Thu Dec 7 16:37:19 2017 New Revision: 326659 URL: https://svnweb.freebsd.org/changeset/base/326659 Log: Look for libraries in OBJDIR when building outside of buildworld. This allows build testing more easily without establishing a sysroot or installing the files.

svn commit: r326662 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/aes/asm crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn c...

2017-12-07 Thread Jung-uk Kim
Author: jkim Date: Thu Dec 7 18:02:57 2017 New Revision: 326662 URL: https://svnweb.freebsd.org/changeset/base/326662 Log: Merge OpenSSL 1.0.2n. Added: head/crypto/openssl/ssl/fatalerrtest.c - copied unchanged from r326660, vendor-crypto/openssl/dist/ssl/fatalerrtest.c Modified: head

Re: svn commit: r326383 - head/sys/x86/cpufreq

2017-12-07 Thread Jung-uk Kim
On 12/07/2017 05:03, Alexey Dokuchaev wrote: > On Thu, Nov 30, 2017 at 03:08:49PM -0500, Jung-uk Kim wrote: >> ... >> Probably. However, I am just trying to fix my FX-8350 and A10-6800 and >> I don't have Zen processors to verify the MSRs are actually working on >> those CPUs. > > Ah, that's so l

svn commit: r326664 - head/sys/vm

2017-12-07 Thread Mark Johnston
Author: markj Date: Thu Dec 7 19:38:09 2017 New Revision: 326664 URL: https://svnweb.freebsd.org/changeset/base/326664 Log: Fix the UMA reclaim worker after r326347. atomic_set_*() sets a bit in the target memory location, so atomic_set_int(&uma_reclaim_needed, 0) does not do what it loo

svn commit: r326665 - head/sys/sys

2017-12-07 Thread Bjoern A. Zeeb
Author: bz Date: Thu Dec 7 19:40:46 2017 New Revision: 326665 URL: https://svnweb.freebsd.org/changeset/base/326665 Log: Use correct field in the description for the lock after r319722. Reviewed by: glebius Sponsored by: iXsystems, Inc. Modified: head/sys/sys/socketvar.h Modified: h

svn commit: r326666 - in head/sys/dev/mlx4: mlx4_core mlx4_en

2017-12-07 Thread Conrad Meyer
Author: cem Date: Thu Dec 7 19:57:51 2017 New Revision: 32 URL: https://svnweb.freebsd.org/changeset/base/32 Log: mlx4: Remove redundant declarations to fix GCC build These were made redundant in r325841. Reviewed by: hselasky MFC after:1 week (hselasky will MFC) Spon

svn commit: r326667 - head/release

2017-12-07 Thread Glen Barber
Author: gjb Date: Thu Dec 7 20:00:19 2017 New Revision: 326667 URL: https://svnweb.freebsd.org/changeset/base/326667 Log: Fix the reldoc target in release/Makefile following doc commit r51264. Sponsored by: The FreeBSD Foundation Modified: head/release/Makefile Modified: head/release/M

svn commit: r326668 - head/sys/geom/raid

2017-12-07 Thread Eugene Grosbein
Author: eugen Date: Thu Dec 7 20:09:17 2017 New Revision: 326668 URL: https://svnweb.freebsd.org/changeset/base/326668 Log: geom_raid (RAID5): do not lose bp->bio_error, keep it in pbp->bio_error and return it by passing to g_raid_iodone() Approved by: mav (mentor) MFC after:3 day

svn commit: r326669 - head/lib/msun/man

2017-12-07 Thread Dimitry Andric
Author: dim Date: Thu Dec 7 20:38:37 2017 New Revision: 326669 URL: https://svnweb.freebsd.org/changeset/base/326669 Log: Remove the sentence in math(3) about some long double math functions not being available. Submitted by: Steve Kargl MFC after:3 days Modified: head/lib/msun/

svn commit: r326670 - head/lib/msun/bsdsrc

2017-12-07 Thread Dimitry Andric
Author: dim Date: Thu Dec 7 20:41:23 2017 New Revision: 326670 URL: https://svnweb.freebsd.org/changeset/base/326670 Log: Remove an unused incude from lib/msun/bsdsrc/b_log.c. Submitted by: Steve Kargl MFC after:3 days Modified: head/lib/msun/bsdsrc/b_log.c Modified: head/lib/msu

Re: svn commit: r326664 - head/sys/vm

2017-12-07 Thread Oliver Pinter
On 12/7/17, Mark Johnston wrote: > Author: markj > Date: Thu Dec 7 19:38:09 2017 > New Revision: 326664 > URL: https://svnweb.freebsd.org/changeset/base/326664 > > Log: > Fix the UMA reclaim worker after r326347. > > atomic_set_*() sets a bit in the target memory location, so > atomic_set_i

Re: svn commit: r326664 - head/sys/vm

2017-12-07 Thread Conrad Meyer
Read the phab review. On Thu, Dec 7, 2017 at 1:23 PM, Oliver Pinter wrote: > On 12/7/17, Mark Johnston wrote: >> Author: markj >> Date: Thu Dec 7 19:38:09 2017 >> New Revision: 326664 >> URL: https://svnweb.freebsd.org/changeset/base/326664 >> >> Log: >> Fix the UMA reclaim worker after r3263

svn commit: r326671 - head/stand/i386/gptzfsboot

2017-12-07 Thread Mark Johnston
Author: markj Date: Thu Dec 7 22:11:23 2017 New Revision: 326671 URL: https://svnweb.freebsd.org/changeset/base/326671 Log: Avoid setting -Wno-tentative-definition-incomplete-type with gcc. No version of gcc that I've tried accepts this flag. Reviewed by: imp Differential Revision:

svn commit: r326672 - in head: sys/conf sys/netinet sys/netinet6 usr.bin/systat

2017-12-07 Thread Michael Tuexen
Author: tuexen Date: Thu Dec 7 22:19:08 2017 New Revision: 326672 URL: https://svnweb.freebsd.org/changeset/base/326672 Log: Retire SCTP_WITH_NO_CSUM option. This option was used in the early days to allow performance measurements extrapolating the use of SCTP checksum offloading. Since

Re: svn commit: r326383 - head/sys/x86/cpufreq

2017-12-07 Thread Andriy Gapon
On 07/12/2017 12:03, Alexey Dokuchaev wrote: > On Thu, Nov 30, 2017 at 03:08:49PM -0500, Jung-uk Kim wrote: >> ... >> Probably. However, I am just trying to fix my FX-8350 and A10-6800 and >> I don't have Zen processors to verify the MSRs are actually working on >> those CPUs. > > Ah, that's so l

svn commit: r326673 - head/sys/netinet

2017-12-07 Thread Gleb Smirnoff
Author: glebius Date: Thu Dec 7 22:36:58 2017 New Revision: 326673 URL: https://svnweb.freebsd.org/changeset/base/326673 Log: Separate out send buffer autoscaling code into function, so that alternative TCP stacks may reuse it instead of pasting. Obtained from:Netflix Modified:

Re: svn commit: r326658 - head/lib/libefivar

2017-12-07 Thread Bruce Evans
On Thu, 7 Dec 2017, Mark Johnston wrote: Log: Ensure that "out" is initialized in all error paths. ... Modified: head/lib/libefivar/efivar-dp-xlate.c == --- head/lib/libefivar/efivar-dp-xlate.cThu Dec 7 09:05:3

Re: svn commit: r326658 - head/lib/libefivar

2017-12-07 Thread Warner Losh
On Thu, Dec 7, 2017 at 3:50 PM, Bruce Evans wrote: > On Thu, 7 Dec 2017, Mark Johnston wrote: > > Log: >> Ensure that "out" is initialized in all error paths. >> ... >> Modified: head/lib/libefivar/efivar-dp-xlate.c >> >> =

Re: svn commit: r326669 - head/lib/msun/man

2017-12-07 Thread Bruce Evans
On Thu, 7 Dec 2017, Dimitry Andric wrote: Log: Remove the sentence in math(3) about some long double math functions not being available. Submitted by: Steve Kargl MFC after: 3 days Modified: head/lib/msun/man/math.3 Modified: head/lib/msun/man/math.3

svn commit: r326674 - head/usr.sbin/bsdinstall/partedit

2017-12-07 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Dec 8 00:57:13 2017 New Revision: 326674 URL: https://svnweb.freebsd.org/changeset/base/326674 Log: Support mounted boot partitions in the installer. This allows the platform layer, for example, to specify that the EFI boot partition should be mounted at /efi an

Re: svn commit: r326658 - head/lib/libefivar

2017-12-07 Thread Bruce Evans
On Thu, 7 Dec 2017, Warner Losh wrote: On Thu, Dec 7, 2017 at 3:50 PM, Bruce Evans wrote: On Thu, 7 Dec 2017, Mark Johnston wrote: Log: Ensure that "out" is initialized in all error paths. ... Modified: head/lib/libefivar/efivar-dp-xlate.c ==

Re: svn commit: r326383 - head/sys/x86/cpufreq

2017-12-07 Thread Sepherosa Ziehau
On Fri, Dec 8, 2017 at 6:23 AM, Andriy Gapon wrote: > On 07/12/2017 12:03, Alexey Dokuchaev wrote: >> On Thu, Nov 30, 2017 at 03:08:49PM -0500, Jung-uk Kim wrote: >>> ... >>> Probably. However, I am just trying to fix my FX-8350 and A10-6800 and >>> I don't have Zen processors to verify the MSRs

svn commit: r326675 - head/sys/powerpc/booke

2017-12-07 Thread Justin Hibbits
Author: jhibbits Date: Fri Dec 8 03:49:53 2017 New Revision: 326675 URL: https://svnweb.freebsd.org/changeset/base/326675 Log: Remove PTE VA mappings for tracked pages in 64-bit mode This was done in 32-bit mode, but not duplicated when 64-bit mode was brought in. Without this, stale ma