Re: svn commit: r282684 - in head/sys: amd64/amd64 amd64/include x86/include x86/xen

2015-05-09 Thread Konstantin Belousov
On Sat, May 09, 2015 at 10:25:39PM +0200, Oliver Pinter wrote: Hi Konstantin! On 5/9/15, Konstantin Belousov k...@freebsd.org wrote: Author: kib Date: Sat May 9 19:11:01 2015 New Revision: 282684 URL: https://svnweb.freebsd.org/changeset/base/282684 Log: Rewrite amd64 PCID

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

2015-05-09 Thread Konstantin Belousov
Author: kib Date: Sat May 9 21:36:44 2015 New Revision: 282696 URL: https://svnweb.freebsd.org/changeset/base/282696 Log: Correct the assertion. We should compare the pmap' curcpu pcid value against 0, not the pmap. Noted by: Oliver Pinter oliver.pin...@hardenedbsd.org Sponsored

Re: svn commit: r282685 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
On Sat, May 09, 2015 at 03:54:09PM -0700, Garrett Cooper wrote: On May 9, 2015, at 12:12, Baptiste Daroussin b...@freebsd.org wrote: Author: bapt Date: Sat May 9 19:12:16 2015 New Revision: 282685 URL: https://svnweb.freebsd.org/changeset/base/282685 Log: Replace malloc(3)

svn commit: r282693 - in head: etc/etc.arm release release/arm release/tools release/tools/arm sys/arm/conf

2015-05-09 Thread Glen Barber
Author: gjb Date: Sat May 9 21:08:12 2015 New Revision: 282693 URL: https://svnweb.freebsd.org/changeset/base/282693 Log: Merge ^/projects/release-arm-redux into ^/head. Of note: - This commit adds native FreeBSD/arm release build support without requiring out-of-tree utilities.

svn commit: r282698 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
Author: bapt Date: Sat May 9 22:08:30 2015 New Revision: 282698 URL: https://svnweb.freebsd.org/changeset/base/282698 Log: Remove now unused LNBUFSZ buffer size Modified: head/usr.sbin/pw/pw_conf.c Modified: head/usr.sbin/pw/pw_conf.c

Re: svn commit: r282685 - head/usr.sbin/pw

2015-05-09 Thread Garrett Cooper
On May 9, 2015, at 16:03, Baptiste Daroussin b...@freebsd.org wrote: On Sat, May 09, 2015 at 03:54:09PM -0700, Garrett Cooper wrote: On May 9, 2015, at 12:12, Baptiste Daroussin b...@freebsd.org wrote: Author: bapt Date: Sat May 9 19:12:16 2015 New Revision: 282685 URL:

Re: svn commit: r282674 - in head/sys/dev: iicbus ofw

2015-05-09 Thread Luiz Otavio O Souza
On Sat, May 9, 2015 at 7:45 AM, John Baldwin wrote: On Saturday, May 09, 2015 03:05:45 AM Luiz Otavio O Souza wrote: Author: loos Date: Sat May 9 03:05:44 2015 New Revision: 282674 URL: https://svnweb.freebsd.org/changeset/base/282674 Log: Handle IRQ resources on iicbus and ofw_iicbus.

Re: svn commit: r282685 - head/usr.sbin/pw

2015-05-09 Thread Garrett Cooper
On May 9, 2015, at 12:12, Baptiste Daroussin b...@freebsd.org wrote: Author: bapt Date: Sat May 9 19:12:16 2015 New Revision: 282685 URL: https://svnweb.freebsd.org/changeset/base/282685 Log: Replace malloc(3) + strcpy(3) + strcat(3) by asprintf(3) Modified:

svn commit: r282702 - in head/sys/dev: iicbus ofw

2015-05-09 Thread Luiz Otavio O Souza
Author: loos Date: Sun May 10 02:19:27 2015 New Revision: 282702 URL: https://svnweb.freebsd.org/changeset/base/282702 Log: Remove unnecessary code and make use of generic implementations for bus_alloc_resource(), bus_release_resource() and bus_set_resource()

Re: svn commit: r282684 - in head/sys: amd64/amd64 amd64/include x86/include x86/xen

2015-05-09 Thread Oliver Pinter
Hi Konstantin! On 5/9/15, Konstantin Belousov k...@freebsd.org wrote: Author: kib Date: Sat May 9 19:11:01 2015 New Revision: 282684 URL: https://svnweb.freebsd.org/changeset/base/282684 Log: Rewrite amd64 PCID implementation to follow an algorithm described in the Vahalia' Unix

svn commit: r282694 - head/sys/arm/conf

2015-05-09 Thread Andrew Turner
Author: andrew Date: Sat May 9 21:24:55 2015 New Revision: 282694 URL: https://svnweb.freebsd.org/changeset/base/282694 Log: Pass over the at91 kernels to reduce the diff between them. Modified: head/sys/arm/conf/BWCT head/sys/arm/conf/EB9200 head/sys/arm/conf/ETHERNUT5

svn commit: r282700 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
Author: bapt Date: Sat May 9 22:48:48 2015 New Revision: 282700 URL: https://svnweb.freebsd.org/changeset/base/282700 Log: Replace sprintf(3) with snprintf(3) Modified: head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/pw_user.c

svn commit: r282701 - stable/10/cddl/lib/libdtrace

2015-05-09 Thread George V. Neville-Neil
Author: gnn Date: Sat May 9 22:59:11 2015 New Revision: 282701 URL: https://svnweb.freebsd.org/changeset/base/282701 Log: MFC: 273293 Update the TCP structure used by DTrace to show the smoothed RTT. This will allow similar functionality to SIFTR to be built with DTrace. Submitted

svn commit: r282690 - in head/sys: kern vm

2015-05-09 Thread Konstantin Belousov
Author: kib Date: Sat May 9 20:08:36 2015 New Revision: 282690 URL: https://svnweb.freebsd.org/changeset/base/282690 Log: The vmem callback to reclaim kmem arena address space on low or fragmented conditions currently just wakes up the pagedaemon. The kmem arena is significantly smaller

svn commit: r282699 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
Author: bapt Date: Sat May 9 22:43:44 2015 New Revision: 282699 URL: https://svnweb.freebsd.org/changeset/base/282699 Log: Use snprintf(3) instead of sprintf(3) Remove useless else Modified: head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/pw_user.c

svn commit: r282703 - head/sys/cddl/contrib/opensolaris/uts/powerpc/dtrace

2015-05-09 Thread Justin Hibbits
Author: jhibbits Date: Sun May 10 04:33:01 2015 New Revision: 282703 URL: https://svnweb.freebsd.org/changeset/base/282703 Log: Fix a couple bugs in 64-bit powerpc fasttrap argument retrieval. Found by code inspection. Modified:

svn commit: r282697 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
Author: bapt Date: Sat May 9 21:53:33 2015 New Revision: 282697 URL: https://svnweb.freebsd.org/changeset/base/282697 Log: Return from the function as early as possible This reduces the depth of the if statements and improves clarity of the code Modified: head/usr.sbin/pw/pw_conf.c

Re: svn commit: r282676 - head/sys/dev/hwpmc

2015-05-09 Thread John Baldwin
On Saturday, May 09, 2015 09:22:00 AM Bjoern A. Zeeb wrote: Author: bz Date: Sat May 9 09:21:59 2015 New Revision: 282676 URL: https://svnweb.freebsd.org/changeset/base/282676 Log: Convert remaining hwpmc(4) debug printfs over to KTR to unbreak the build for at least powerpc kernels.

Re: svn commit: r282674 - in head/sys/dev: iicbus ofw

2015-05-09 Thread John Baldwin
On Saturday, May 09, 2015 03:05:45 AM Luiz Otavio O Souza wrote: Author: loos Date: Sat May 9 03:05:44 2015 New Revision: 282674 URL: https://svnweb.freebsd.org/changeset/base/282674 Log: Handle IRQ resources on iicbus and ofw_iicbus. Based on a patch submitted by Michal Meloun

svn commit: r282677 - in stable/9/sys/fs: nfs nfsserver

2015-05-09 Thread Rick Macklem
Author: rmacklem Date: Sat May 9 12:10:59 2015 New Revision: 282677 URL: https://svnweb.freebsd.org/changeset/base/282677 Log: MFC: r281628 mav@ has found that NFS servers exporting ZFS file systems can perform better when using a 128K read/write data size. This patch changes NFS_MAXDATA

svn commit: r282678 - in head: share/man/man4 sys/amd64/acpica sys/amd64/include sys/dev/acpica sys/i386/acpica sys/i386/include sys/x86/include sys/x86/x86

2015-05-09 Thread Konstantin Belousov
Author: kib Date: Sat May 9 12:28:48 2015 New Revision: 282678 URL: https://svnweb.freebsd.org/changeset/base/282678 Log: If x86 CPU implementation of the MWAIT instruction reasonably interacts with interrupts, query ACPI and use MWAIT for entrance into Cx sleep states. Support C1 I/O

svn commit: r282676 - head/sys/dev/hwpmc

2015-05-09 Thread Bjoern A. Zeeb
Author: bz Date: Sat May 9 09:21:59 2015 New Revision: 282676 URL: https://svnweb.freebsd.org/changeset/base/282676 Log: Convert remaining hwpmc(4) debug printfs over to KTR to unbreak the build for at least powerpc kernels. Missed in r282658. MFC after:10 days Modified:

svn commit: r282679 - head/sys/kern

2015-05-09 Thread Konstantin Belousov
Author: kib Date: Sat May 9 18:32:13 2015 New Revision: 282679 URL: https://svnweb.freebsd.org/changeset/base/282679 Log: Do not return from thread_single(SINGLE_BOUNDARY) until all stopped thread are guarenteed to be removed from the processors. Tested by:pho Sponsored by: The

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

2015-05-09 Thread Konstantin Belousov
Author: kib Date: Sat May 9 18:38:35 2015 New Revision: 282680 URL: https://svnweb.freebsd.org/changeset/base/282680 Log: Remove unused define. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/amd64/amd64/apic_vector.S Modified:

svn commit: r282681 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
Author: bapt Date: Sat May 9 19:00:16 2015 New Revision: 282681 URL: https://svnweb.freebsd.org/changeset/base/282681 Log: Use sbuf(9) instead of homebrewed buffered string Modified: head/usr.sbin/pw/Makefile head/usr.sbin/pw/fileupd.c head/usr.sbin/pw/pw_conf.c Modified:

svn commit: r282683 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
Author: bapt Date: Sat May 9 19:09:34 2015 New Revision: 282683 URL: https://svnweb.freebsd.org/changeset/base/282683 Log: Use snprintf(3) instead of strcpy(3) + strncat(3) Modified: head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/pw_user.c

svn commit: r282684 - in head/sys: amd64/amd64 amd64/include x86/include x86/xen

2015-05-09 Thread Konstantin Belousov
Author: kib Date: Sat May 9 19:11:01 2015 New Revision: 282684 URL: https://svnweb.freebsd.org/changeset/base/282684 Log: Rewrite amd64 PCID implementation to follow an algorithm described in the Vahalia' Unix Internals section 15.12 Other TLB Consistency Algorithms. The same algorithm is

svn commit: r282685 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
Author: bapt Date: Sat May 9 19:12:16 2015 New Revision: 282685 URL: https://svnweb.freebsd.org/changeset/base/282685 Log: Replace malloc(3) + strcpy(3) + strcat(3) by asprintf(3) Modified: head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/pw_user.c

svn commit: r282686 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
Author: bapt Date: Sat May 9 19:22:33 2015 New Revision: 282686 URL: https://svnweb.freebsd.org/changeset/base/282686 Log: Remove unneeded headers Modified: head/usr.sbin/pw/fileupd.c Modified: head/usr.sbin/pw/fileupd.c

svn commit: r282687 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
Author: bapt Date: Sat May 9 19:29:55 2015 New Revision: 282687 URL: https://svnweb.freebsd.org/changeset/base/282687 Log: Remove some uneeded headers Modified: head/usr.sbin/pw/grupd.c head/usr.sbin/pw/pw_nis.c head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/grupd.c

svn commit: r282688 - stable/10/sys/netpfil/pf

2015-05-09 Thread George V. Neville-Neil
Author: gnn Date: Sat May 9 19:36:30 2015 New Revision: 282688 URL: https://svnweb.freebsd.org/changeset/base/282688 Log: MFC: 281529 I can find no reason to allow packets with both SYN and FIN bits set past this point in the code. The packet should be dropped and not massaged as it

svn commit: r282689 - stable/10/sys/net

2015-05-09 Thread George V. Neville-Neil
Author: gnn Date: Sat May 9 19:43:48 2015 New Revision: 282689 URL: https://svnweb.freebsd.org/changeset/base/282689 Log: MFC: 281558 Minor change to the macros to make sure that if an AF is passed that is neither AF_INET6 nor AF_INET that we don't touch random bits of memory. Modified: