svn commit: r285669 - head/sys/netinet

2015-07-17 Thread Kevin Lo
Author: kevlo Date: Sat Jul 18 06:48:30 2015 New Revision: 285669 URL: https://svnweb.freebsd.org/changeset/base/285669 Log: Since the IETF has redefined the meaning of the tos field to accommodate a set of differentiated services, set IPTOS_PREC_* macros using IPTOS_DSCP_* macro definitions

Re: svn commit: r285644 - head/contrib/sqlite3

2015-07-17 Thread Bruce Evans
On Fri, 17 Jul 2015, Pedro Giffuni wrote: On 07/17/15 17:26, Peter Jeremy wrote: On 2015-Jul-16 22:07:14 +, "Pedro F. Giffuni" wrote: Log: ... sqlite: clean a couple of invocations of memcpy(3) Found almost accidentally by our native gcc when enhanced with FORTIFY_SOURCE. ...

svn commit: r285667 - head/sys/kern

2015-07-17 Thread Mark Johnston
Author: markj Date: Sat Jul 18 04:38:11 2015 New Revision: 285667 URL: https://svnweb.freebsd.org/changeset/base/285667 Log: Fix the !KDTRACE_HOOKS build. X-MFC-With: r285664 Modified: head/sys/kern/kern_mutex.c Modified: head/sys/kern/kern_mutex.c

svn commit: r285666 - head/sbin/geom/class/multipath

2015-07-17 Thread Marcelo Araujo
Author: araujo (ports committer) Date: Sat Jul 18 03:14:49 2015 New Revision: 285666 URL: https://svnweb.freebsd.org/changeset/base/285666 Log: Fix contraction spotted by igor(1) and remove 2 .Ed spotted by mandoc(1). Also, don't capitalize "module" and remove a redundant phrase introduced i

Re: svn commit: r285664 - in head/sys: kern sys

2015-07-17 Thread Mark Johnston
On Sat, Jul 18, 2015 at 03:35:11AM +0200, Mateusz Guzik wrote: > On Sat, Jul 18, 2015 at 12:57:31AM +, Mark Johnston wrote: > > Author: markj > > Date: Sat Jul 18 00:57:30 2015 > > New Revision: 285664 > > URL: https://svnweb.freebsd.org/changeset/base/285664 > > > > Log: > > Pass the lock o

Re: svn commit: r285664 - in head/sys: kern sys

2015-07-17 Thread Mateusz Guzik
On Sat, Jul 18, 2015 at 12:57:31AM +, Mark Johnston wrote: > Author: markj > Date: Sat Jul 18 00:57:30 2015 > New Revision: 285664 > URL: https://svnweb.freebsd.org/changeset/base/285664 > > Log: > Pass the lock object to lockstat_nsecs() and return immediately if > LO_NOPROFILE is set. So

svn commit: r285664 - in head/sys: kern sys

2015-07-17 Thread Mark Johnston
Author: markj Date: Sat Jul 18 00:57:30 2015 New Revision: 285664 URL: https://svnweb.freebsd.org/changeset/base/285664 Log: Pass the lock object to lockstat_nsecs() and return immediately if LO_NOPROFILE is set. Some timecounter handlers acquire a spin mutex, and we don't want to recurse if

svn commit: r285663 - in head/sys: cddl/dev/lockstat kern sys

2015-07-17 Thread Mark Johnston
Author: markj Date: Sat Jul 18 00:22:00 2015 New Revision: 285663 URL: https://svnweb.freebsd.org/changeset/base/285663 Log: Modify lockstat_nsecs() to just return unless lockstat probes are actually enabled. The cost of a timecounter read can be quite significant, and the problem became mor

svn commit: r285662 - in head/sys: amd64/conf conf dev/pms i386/conf modules modules/pms

2015-07-17 Thread Benno Rice
Author: benno Date: Fri Jul 17 23:30:43 2015 New Revision: 285662 URL: https://svnweb.freebsd.org/changeset/base/285662 Log: Merge driver for PMC Sierra's range of SAS/SATA HBAs. Submitted by: Achim Leubner Reviewed by: scottl Added: head/sys/dev/pms/ - copied from r285661, proj

Re: svn commit: r285644 - head/contrib/sqlite3

2015-07-17 Thread Pedro Giffuni
On 07/17/15 17:26, Peter Jeremy wrote: On 2015-Jul-16 22:07:14 +, "Pedro F. Giffuni" wrote: Log: ... sqlite: clean a couple of invocations of memcpy(3) Found almost accidentally by our native gcc when enhanced with FORTIFY_SOURCE. ... - memcpy((void *)&aHdr[1], (void *)&pWa

Re: svn commit: r285644 - head/contrib/sqlite3

2015-07-17 Thread Peter Jeremy
On 2015-Jul-16 22:07:14 +, "Pedro F. Giffuni" wrote: >Log: ... > sqlite: clean a couple of invocations of memcpy(3) > > Found almost accidentally by our native gcc when enhanced with > FORTIFY_SOURCE. ... >- memcpy((void *)&aHdr[1], (void *)&pWal->hdr, sizeof(WalIndexHdr)); >+ memcpy((v

svn commit: r285661 - in head/sys: kern sys

2015-07-17 Thread Ed Schouten
Author: ed Date: Fri Jul 17 22:26:45 2015 New Revision: 285661 URL: https://svnweb.freebsd.org/changeset/base/285661 Log: Undo r285656. It turns out that the CDDL sources already introduce a function called thread_create(). I'll investigate what we can do to make these functions coexist

svn commit: r285658 - head/usr.sbin/ctladm

2015-07-17 Thread Baptiste Daroussin
Author: bapt Date: Fri Jul 17 19:10:43 2015 New Revision: 285658 URL: https://svnweb.freebsd.org/changeset/base/285658 Log: make ctdladm(8) return 0 is everything was ok. retval is used to test the return of XML_Parse function which is ok if 1 is returned and retval it directly returned t

svn commit: r285657 - head/sys/netinet

2015-07-17 Thread Patrick Kelsey
Author: pkelsey Date: Fri Jul 17 17:36:33 2015 New Revision: 285657 URL: https://svnweb.freebsd.org/changeset/base/285657 Log: Check TCP timestamp option flag so that the automatic receive buffer scaling code does not use an uninitialized timestamp echo reply value from the stack when timest

svn commit: r285656 - in head/sys: kern sys

2015-07-17 Thread Ed Schouten
Author: ed Date: Fri Jul 17 16:34:01 2015 New Revision: 285656 URL: https://svnweb.freebsd.org/changeset/base/285656 Log: Add an API for easily creating userspace threads in kernelspace. This change refactors the existing create_thread() function to be more generic. It replaces almost all

svn commit: r285655 - head/sys/arm64/arm64

2015-07-17 Thread Zbigniew Bodek
Author: zbb Date: Fri Jul 17 14:33:47 2015 New Revision: 285655 URL: https://svnweb.freebsd.org/changeset/base/285655 Log: Fix possible coherency issues between PEs related to I-cache Basing on B.2.3.4: Synchronization and coherency issues between data and instruction accesses. To

svn commit: r285654 - head/sys/arm64/arm64

2015-07-17 Thread Zbigniew Bodek
Author: zbb Date: Fri Jul 17 14:08:08 2015 New Revision: 285654 URL: https://svnweb.freebsd.org/changeset/base/285654 Log: Fix secondary stacks calculation on ARM64 Secondary stack calculation is modified to provide stack_top = secondary_stacks + (cpu_id) * PAGE_SIZE * KSTACK_PAGES beca

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

2015-07-17 Thread Zbigniew Bodek
Author: zbb Date: Fri Jul 17 13:58:00 2015 New Revision: 285653 URL: https://svnweb.freebsd.org/changeset/base/285653 Log: Increase DMAP (Direct Map) size on ARM64 Previous DMAP size was too small for systems with more than 64GB of RAM. Increase it to 128GB to support ThunderX CRB. R

Re: svn commit: r285539 - head/sys/compat/cloudabi64

2015-07-17 Thread Jilles Tjoelker
On Tue, Jul 14, 2015 at 02:33:21PM +, Ed Schouten wrote: > Author: ed > Date: Tue Jul 14 14:33:21 2015 > New Revision: 285539 > URL: https://svnweb.freebsd.org/changeset/base/285539 > Log: > Implement {,p}{read,write}{,v}(). > Add a routine similar to copyinuio() and freebsd32_copyinuio()

svn commit: r285652 - in head/sys: compat/cloudabi contrib/cloudabi

2015-07-17 Thread Ed Schouten
Author: ed Date: Fri Jul 17 09:00:38 2015 New Revision: 285652 URL: https://svnweb.freebsd.org/changeset/base/285652 Log: Implement CloudABI memory management system calls. Add support for the functions by wrapping around our own implementations. There are no kern_*() variants of these s

svn commit: r285651 - head/usr.bin/sockstat

2015-07-17 Thread Dag-Erling Smørgrav
Author: des Date: Fri Jul 17 08:37:13 2015 New Revision: 285651 URL: https://svnweb.freebsd.org/changeset/base/285651 Log: Move assignments around to avoid a false-positive uninitialized variable warning which broke the sparc64 build. PR: 201585 MFC after:3 weeks Modified

Re: svn commit: r285644 - head/contrib/sqlite3

2015-07-17 Thread Bruce Evans
On Thu, 16 Jul 2015, Pedro Giffuni wrote: On 07/16/15 17:22, Ian Lepore wrote: On Thu, 2015-07-16 at 22:07 +, Pedro F. Giffuni wrote: Author: pfg Date: Thu Jul 16 22:07:13 2015 New Revision: 285644 URL: https://svnweb.freebsd.org/changeset/base/285644 Log: sqlite: clean a couple of inv