svn commit: r309138 - head/sys/dev/hyperv/vmbus

2016-11-25 Thread Sepherosa Ziehau
Author: sephe Date: Fri Nov 25 08:31:13 2016 New Revision: 309138 URL: https://svnweb.freebsd.org/changeset/base/309138 Log: hyperv/vmbus: Always try disconnect/free bufring memory upon channel close While I'm here, minor wording and style changes. MFC after:1 week Sponsored by:

svn commit: r309139 - head/sys/dev/hyperv/vmbus

2016-11-25 Thread Sepherosa Ziehau
Author: sephe Date: Fri Nov 25 08:57:52 2016 New Revision: 309139 URL: https://svnweb.freebsd.org/changeset/base/309139 Log: hyperv/vmbus: Propagate close error. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D8599 Modified: hea

svn commit: r309140 - in head/sys/dev/hyperv: include vmbus

2016-11-25 Thread Sepherosa Ziehau
Author: sephe Date: Fri Nov 25 09:13:10 2016 New Revision: 309140 URL: https://svnweb.freebsd.org/changeset/base/309140 Log: hyperv/vmbus: Add a simplified version of channel close. So that the caller can know the channel close error and react accordingly. MFC after:1 week Sponso

svn commit: r309142 - in head: . gnu/usr.bin/binutils/ld share/mk tools/build/options usr.bin/clang/lld

2016-11-25 Thread Ed Maste
Author: emaste Date: Fri Nov 25 13:15:28 2016 New Revision: 309142 URL: https://svnweb.freebsd.org/changeset/base/309142 Log: Add WITH_LLD_AS_LD build knob If set it installs LLD as /usr/bin/ld. LLD (as of version 3.9) is not capable of linking the world and kernel, but can self-host and

svn commit: r309143 - head/sys/libkern

2016-11-25 Thread Fabien Thomas
Author: fabient Date: Fri Nov 25 13:49:33 2016 New Revision: 309143 URL: https://svnweb.freebsd.org/changeset/base/309143 Log: In a dual processor system (2*6 cores) during IPSec throughput tests, we see a lot of contention on the arc4 lock, used to generate the IV of the ESP output packets.

svn commit: r309144 - in head: lib/libipsec sys/net sys/netipsec

2016-11-25 Thread Fabien Thomas
Author: fabient Date: Fri Nov 25 14:44:49 2016 New Revision: 309144 URL: https://svnweb.freebsd.org/changeset/base/309144 Log: IPsec RFC6479 support for replay window sizes up to 2^32 - 32 packets. Since the previous algorithm, based on bit shifting, does not scale with large replay windo

Re: svn commit: r309143 - head/sys/libkern

2016-11-25 Thread Mateusz Guzik
On Fri, Nov 25, 2016 at 01:49:33PM +, Fabien Thomas wrote: > Author: fabient > Date: Fri Nov 25 13:49:33 2016 > New Revision: 309143 > URL: https://svnweb.freebsd.org/changeset/base/309143 > > Log: > In a dual processor system (2*6 cores) during IPSec throughput tests, > we see a lot of co

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

2016-11-25 Thread Andrew Turner
Author: andrew Date: Fri Nov 25 16:04:36 2016 New Revision: 309145 URL: https://svnweb.freebsd.org/changeset/base/309145 Log: Fix the TLB conflict abort value. This should be a no-op as we don't use this value in the code. Modified: head/sys/arm64/include/armreg.h Modified: head/sys/arm64/

Re: svn commit: r309143 - head/sys/libkern

2016-11-25 Thread Fabien Thomas
> Le 25 nov. 2016 à 17:00, Mateusz Guzik a écrit : > > On Fri, Nov 25, 2016 at 01:49:33PM +, Fabien Thomas wrote: >> Author: fabient >> Date: Fri Nov 25 13:49:33 2016 >> New Revision: 309143 >> URL: https://svnweb.freebsd.org/changeset/base/309143 >> >> Log: >> In a dual processor system (

svn commit: r309146 - head/sys/libkern

2016-11-25 Thread Fabien Thomas
Author: fabient Date: Fri Nov 25 17:20:23 2016 New Revision: 309146 URL: https://svnweb.freebsd.org/changeset/base/309146 Log: Update r309143 to prevent false sharing. Reported by: mjg Approved by: so MFC after:1 month Modified: head/sys/libkern/arc4random.c Modified: head/sys

svn commit: r309147 - head/contrib/llvm/lib/Target/PowerPC

2016-11-25 Thread Dimitry Andric
Author: dim Date: Fri Nov 25 18:01:32 2016 New Revision: 309147 URL: https://svnweb.freebsd.org/changeset/base/309147 Log: Pull in r282174 from upstream llvm trunk (by Krzysztof Parzyszek): [PPC] Set SP after loading data from stack frame, if no red zone is present Follow-up to

svn commit: r309148 - head/sys/kern

2016-11-25 Thread John Baldwin
Author: jhb Date: Fri Nov 25 18:02:43 2016 New Revision: 309148 URL: https://svnweb.freebsd.org/changeset/base/309148 Log: Permit timed sleeps for threads other than thread0 before timers are working. The callout subsystem already handles early callouts and schedules the first clock inter

svn commit: r309149 - in head/contrib/llvm: lib/Target/PowerPC tools/clang/lib/CodeGen tools/clang/lib/Driver

2016-11-25 Thread Dimitry Andric
Author: dim Date: Fri Nov 25 18:12:13 2016 New Revision: 309149 URL: https://svnweb.freebsd.org/changeset/base/309149 Log: Pull in r283060 from upstream llvm trunk (by Hal Finkel): [PowerPC] Refactor soft-float support, and enable PPC64 soft float This change enables soft-float for

svn commit: r309150 - head/lib/clang

2016-11-25 Thread Dimitry Andric
Author: dim Date: Fri Nov 25 18:12:57 2016 New Revision: 309150 URL: https://svnweb.freebsd.org/changeset/base/309150 Log: Bump FREEBSD_CC_VERSION again for r309147 and 309149. Modified: head/lib/clang/freebsd_cc_version.h Modified: head/lib/clang/freebsd_cc_version.h ===

svn commit: r309151 - head/sys/conf

2016-11-25 Thread Ed Maste
Author: emaste Date: Fri Nov 25 18:57:14 2016 New Revision: 309151 URL: https://svnweb.freebsd.org/changeset/base/309151 Log: Use explicit 0x20 instead of MAXPAGESIZE for the amd64 kernel physaddr MAXPAGESIZE is not well defined by the GNU ld documentation. Different linkers, and diff

svn commit: r309167 - head/sys/powerpc/include

2016-11-25 Thread Justin Hibbits
Author: jhibbits Date: Fri Nov 25 19:36:27 2016 New Revision: 309167 URL: https://svnweb.freebsd.org/changeset/base/309167 Log: Add an isync to after mtsrin, required by the MPC750 errata MPC750 User Manual Errata (rev 1) adds a note to C.4.2.2 noting that mtsr, mtsrin, and mtmsr all requ

Re: svn commit: r309142 - in head: . gnu/usr.bin/binutils/ld share/mk tools/build/options usr.bin/clang/lld

2016-11-25 Thread Ed Maste
On 25 November 2016 at 08:15, Ed Maste wrote: > Author: emaste > Date: Fri Nov 25 13:15:28 2016 > New Revision: 309142 > URL: https://svnweb.freebsd.org/changeset/base/309142 > > Log: > Add WITH_LLD_AS_LD build knob > > If set it installs LLD as /usr/bin/ld. LLD (as of version 3.9) is not >

Re: svn commit: r309143 - head/sys/libkern

2016-11-25 Thread Oleg Bulyzhin
On Fri, Nov 25, 2016 at 01:49:33PM +, Fabien Thomas wrote: > + if (reseed || atomic_cmpset_int(&arc4rand_iniseed_state, > + ARC4_ENTR_HAVE, ARC4_ENTR_SEED)) { > + ARC4_FOREACH(arc4) > + arc4_randomstir(arc4); > + } How about eliminat

Re: svn commit: r309144 - in head: lib/libipsec sys/net sys/netipsec

2016-11-25 Thread Raphael Kubo da Costa
Fabien Thomas writes: > Author: fabient > Date: Fri Nov 25 14:44:49 2016 > New Revision: 309144 > URL: https://svnweb.freebsd.org/changeset/base/309144 > > Log: > IPsec RFC6479 support for replay window sizes up to 2^32 - 32 packets. > > Since the previous algorithm, based on bit shifting, do

svn commit: r309169 - in head/contrib/llvm/tools: llvm-dwarfdump llvm-lto

2016-11-25 Thread Dimitry Andric
Author: dim Date: Fri Nov 25 22:33:15 2016 New Revision: 309169 URL: https://svnweb.freebsd.org/changeset/base/309169 Log: Get rid of separate Subversion mergeinfo properties for llvm-dwarfdump and llvm-lto. The mergeinfo confuses Subversion enormously, and these directories will just use t

svn commit: r309171 - head/sys/fs/nfs

2016-11-25 Thread Rick Macklem
Author: rmacklem Date: Fri Nov 25 23:28:09 2016 New Revision: 309171 URL: https://svnweb.freebsd.org/changeset/base/309171 Log: Stop "nfsstat -z" from clearing counts of NFSv4 state structures. The "-z" option on nfsstats was erroneously zeroing out the counts of NFSv4 state structures. T

svn commit: r309174 - head/sys/netipsec

2016-11-25 Thread Ed Maste
Author: emaste Date: Sat Nov 26 00:59:01 2016 New Revision: 309174 URL: https://svnweb.freebsd.org/changeset/base/309174 Log: netipsec: fix build after 309144 Reported by: rakuco Modified: head/sys/netipsec/key_debug.c Modified: head/sys/netipsec/key_debug.c ===

Re: svn commit: r309109 - head/lib/libutil

2016-11-25 Thread Ed Maste
On 24 November 2016 at 14:39, Dag-Erling Smørgrav wrote: > > Precisely. If memory serves, I wrote that comment after receiving a > patch from someone who made the same mistake that I had already made and > reverted *twice*. It's the logical, sane thing to do: replace a BSD > primitive with the e

svn commit: r309179 - head/sys/fs/ext2fs

2016-11-25 Thread Pedro F. Giffuni
Author: pfg Date: Sat Nov 26 02:06:33 2016 New Revision: 309179 URL: https://svnweb.freebsd.org/changeset/base/309179 Log: ext2: avoid possible overflow when calculating malloc size. This is inspired on r308064 for case of reloading UFS. MFC after:1 week Modified: head/sys/fs/ex

svn commit: r309184 - head/usr.bin/gzip

2016-11-25 Thread Xin LI
Author: delphij Date: Sat Nov 26 07:02:44 2016 New Revision: 309184 URL: https://svnweb.freebsd.org/changeset/base/309184 Log: style(9) indent changes, no actual code change. MFC after:2 weeks Modified: head/usr.bin/gzip/unpack.c Modified: head/usr.bin/gzip/unpack.c