svn commit: r336219 - head/sys/netpfil/ipfw

2018-07-12 Thread Andrey V. Elsukov
Author: ae Date: Thu Jul 12 11:38:18 2018 New Revision: 336219 URL: https://svnweb.freebsd.org/changeset/base/336219 Log: Use correct size when we are allocating array for skipto index. Also, there is no need to use M_ZERO for idxmap_back. It will be re-filled just after allocation in upd

svn commit: r336220 - head/lib/libefivar

2018-07-12 Thread Warner Losh
Author: imp Date: Thu Jul 12 16:19:17 2018 New Revision: 336220 URL: https://svnweb.freebsd.org/changeset/base/336220 Log: Fix an obvious 'is odd' check. len % 1 is always true. Fix StrHexToBytes to do a proper odd length check. This was only called by DevPathFromTextGenericPath, Conver

svn commit: r336221 - head/sys/net

2018-07-12 Thread Kristof Provost
Author: kp Date: Thu Jul 12 16:35:35 2018 New Revision: 336221 URL: https://svnweb.freebsd.org/changeset/base/336221 Log: pf: Increate default state table size The typical system now has a lot more memory than when pf was new, and is also expected to handle more connections. Increase the

svn commit: r336222 - head/tools/boot

2018-07-12 Thread Ian Lepore
Author: ian Date: Thu Jul 12 17:22:25 2018 New Revision: 336222 URL: https://svnweb.freebsd.org/changeset/base/336222 Log: Wee fix: $dev is passed in to the function with the /dev prefix already in place, don't add it. Modified: head/tools/boot/install-boot.sh Modified: head/tools/boot/ins

svn commit: r336223 - head/sys/dev/ixl

2018-07-12 Thread Eric Joyner
Author: erj Date: Thu Jul 12 17:42:36 2018 New Revision: 336223 URL: https://svnweb.freebsd.org/changeset/base/336223 Log: ixl(4): Set baudrate on link up using proper link_speed variable And remove old, now-completely unused link_speed variable. Reported by: Jacob Keller MFC after

svn commit: r336224 - head/sys/net

2018-07-12 Thread Kristof Provost
Author: kp Date: Thu Jul 12 18:07:28 2018 New Revision: 336224 URL: https://svnweb.freebsd.org/changeset/base/336224 Log: pf: Fix typo in r336221 Reported by: olivier@ Modified: head/sys/net/pfvar.h Modified: head/sys/net/pfvar.h

svn commit: r336225 - in head/sys/dev: ahci usb/controller

2018-07-12 Thread Mark Johnston
Author: markj Date: Thu Jul 12 18:44:00 2018 New Revision: 336225 URL: https://svnweb.freebsd.org/changeset/base/336225 Log: Add PCI IDs for AMD X370 AHCI and XHCI. Submitted by: Greg V MFC after:1 week Differential Revision:https://reviews.freebsd.org/D15398 Modified: h

svn commit: r336226 - head/contrib/elftoolchain/elfcopy

2018-07-12 Thread Mark Johnston
Author: markj Date: Thu Jul 12 18:48:53 2018 New Revision: 336226 URL: https://svnweb.freebsd.org/changeset/base/336226 Log: Pass the right sizes to malloc() and realloc(). Reported by: scan-build, via Mark Millard MFC after:1 week Differential Revision:https://reviews.free

svn commit: r336227 - head/contrib/llvm/tools/clang/lib/Driver/ToolChains

2018-07-12 Thread Dimitry Andric
Author: dim Date: Thu Jul 12 19:02:59 2018 New Revision: 336227 URL: https://svnweb.freebsd.org/changeset/base/336227 Log: Pull in r336008 from upstream clang trunk: Request init/fini array on FreeBSD 12 and later Summary: It seems a bad idea to change the default in the mid

Re: svn commit: r336227 - head/contrib/llvm/tools/clang/lib/Driver/ToolChains

2018-07-12 Thread John Baldwin
On 7/12/18 12:03 PM, Dimitry Andric wrote: > Author: dim > Date: Thu Jul 12 19:02:59 2018 > New Revision: 336227 > URL: https://svnweb.freebsd.org/changeset/base/336227 > > Log: > Pull in r336008 from upstream clang trunk: > > Request init/fini array on FreeBSD 12 and later > > Sum

svn commit: r336229 - in head/sys/fs: nfs nfsclient

2018-07-12 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 12 20:46:22 2018 New Revision: 336229 URL: https://svnweb.freebsd.org/changeset/base/336229 Log: Modify the NFSv4.1 pNFS client to use separate TCP connections for DSs. Without this patch, the NFSv4.1 pNFS client shared a single TCP connection for all DSs th

svn commit: r336230 - head/sys/sys

2018-07-12 Thread Mateusz Guzik
Author: mjg Date: Thu Jul 12 22:34:40 2018 New Revision: 336230 URL: https://svnweb.freebsd.org/changeset/base/336230 Log: sx: remove the spurious macro value difference vs rwlocks No functional changes. Modified: head/sys/sys/sx.h Modified: head/sys/sys/sx.h ===

svn commit: r336231 - head/sys/vm

2018-07-12 Thread Mateusz Guzik
Author: mjg Date: Thu Jul 12 22:35:52 2018 New Revision: 336231 URL: https://svnweb.freebsd.org/changeset/base/336231 Log: uma: whack main zone counter update in the slow path, freeing side See r333052. Modified: head/sys/vm/uma_core.c Modified: head/sys/vm/uma_core.c ==

svn commit: r336232 - head/sys/kern

2018-07-12 Thread Mateusz Guzik
Author: mjg Date: Thu Jul 12 22:48:18 2018 New Revision: 336232 URL: https://svnweb.freebsd.org/changeset/base/336232 Log: fd: stop passing M_ZERO to uma_zalloc The optimisation seen with malloc cannot be used here as zone sizes are now known at compilation. Thus bzero by hand to get the

svn commit: r336233 - stable/11/sys/fs/nfsserver

2018-07-12 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 12 22:53:37 2018 New Revision: 336233 URL: https://svnweb.freebsd.org/changeset/base/336233 Log: MFC: r333579 The NFSv4.1 server should return NFSERR_BACKCHANBUSY instead of NFS_OK. When an NFSv4.1 session is busy due to a callback being in progress, nfsrv

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

2018-07-12 Thread Mark Johnston
On Thu, Jul 12, 2018 at 10:35:52PM +, Mateusz Guzik wrote: > Author: mjg > Date: Thu Jul 12 22:35:52 2018 > New Revision: 336231 > URL: https://svnweb.freebsd.org/changeset/base/336231 > > Log: > uma: whack main zone counter update in the slow path, freeing side > > See r333052. > > Mo

svn commit: r336234 - stable/10/sys/fs/nfsserver

2018-07-12 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 12 22:59:02 2018 New Revision: 336234 URL: https://svnweb.freebsd.org/changeset/base/336234 Log: MFC: r333579 The NFSv4.1 server should return NFSERR_BACKCHANBUSY instead of NFS_OK. When an NFSv4.1 session is busy due to a callback being in progress, nfsrv

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

2018-07-12 Thread Mateusz Guzik
uma_zone_get_cur iterates the per-cpu stats and looks at the zone-global stats. The patch only gets rid of rolling them up, thus there is no difference from the pov of this func. I don't follow the remark about uma_reclaim. On Fri, Jul 13, 2018 at 12:58 AM, Mark Johnston wrote: > On Thu, Jul 12,

svn commit: r336235 - stable/11/kerberos5/usr.bin/verify_krb5_conf

2018-07-12 Thread Cy Schubert
Author: cy Date: Fri Jul 13 00:37:47 2018 New Revision: 336235 URL: https://svnweb.freebsd.org/changeset/base/336235 Log: MFC r336151: Remove redundant space. Modified: stable/11/kerberos5/usr.bin/verify_krb5_conf/Makefile Directory Properties: stable/11/ (props changed) Modified: s

svn commit: r336236 - head/sbin/fsck_msdosfs

2018-07-12 Thread Xin LI
Author: delphij Date: Fri Jul 13 02:02:16 2018 New Revision: 336236 URL: https://svnweb.freebsd.org/changeset/base/336236 Log: Detect and handle invalid number of FATs If the number of FATs field in the boot sector is zero, give an appropriate error code. Obtained from:Androi

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

2018-07-12 Thread Mark Johnston
On Fri, Jul 13, 2018 at 01:41:46AM +0200, Mateusz Guzik wrote: > uma_zone_get_cur iterates the per-cpu stats and looks at the zone-global > stats. The patch only gets rid of rolling them up, thus there is no > difference from the pov of this func. > I don't follow the remark about uma_reclaim. I'm

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

2018-07-12 Thread Mateusz Guzik
they are modified in 2 places: zone_alloc_item and zone_free_item. this should probably get fixed up at some point, but I have no interest in working on it. On Fri, Jul 13, 2018 at 5:39 AM, Mark Johnston wrote: > On Fri, Jul 13, 2018 at 01:41:46AM +0200, Mateusz Guzik wrote: > > uma_zone_get_cur