Re: svn commit: r310086 - head/sys/dev/xen/blkfront

2016-12-14 Thread Colin Percival
On 12/14/16 11:28, Dimitry Andric wrote: > Log: > In xbd_connect(), use correct scanf conversion specifiers for the > feature_barrier and feature_flush variables. Otherwise, adjacent > variables on the stack, such as sector_size, may be overwritten, with > disastrous results. Thanks!

Re: svn commit: r310045 - head/sys/ddb

2016-12-14 Thread Bruce Evans
On Wed, 14 Dec 2016, John Baldwin wrote: On Wednesday, December 14, 2016 07:24:46 PM Bruce Evans wrote: ... I don't see how initializing to 'val' can help. It still gets corrupted to unsigned, and I would expect it to make the problem much worse because the truncation gives an even smaller

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

2016-12-14 Thread Sepherosa Ziehau
Author: sephe Date: Thu Dec 15 03:32:24 2016 New Revision: 310101 URL: https://svnweb.freebsd.org/changeset/base/310101 Log: hyperv: Allow userland to ro-mmap reference TSC page This paves way to implement VDSO for the enlightened time counter. Reviewed by: kib MFC after:1 week

svn commit: r310100 - in head/sys/dev/cxgbe: . common

2016-12-14 Thread Navdeep Parhar
Author: np Date: Thu Dec 15 02:05:29 2016 New Revision: 310100 URL: https://svnweb.freebsd.org/changeset/base/310100 Log: cxgbe(4): Deal with compressed error vectors. MFC after:3 days Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/common/common.h

svn commit: r310098 - head/sys/vm

2016-12-14 Thread Konstantin Belousov
Author: kib Date: Wed Dec 14 23:36:32 2016 New Revision: 310098 URL: https://svnweb.freebsd.org/changeset/base/310098 Log: Provide introductory description of the default pager. Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

svn commit: r310097 - head/sys/vm

2016-12-14 Thread Konstantin Belousov
Author: kib Date: Wed Dec 14 23:34:25 2016 New Revision: 310097 URL: https://svnweb.freebsd.org/changeset/base/310097 Log: Remove locking around accounting initialization of the default object. The object is not yet fully constructed and must not be available to other threads. This

svn commit: r310096 - in head: sys/kern tests/sys/kern

2016-12-14 Thread Jilles Tjoelker
Author: jilles Date: Wed Dec 14 22:49:20 2016 New Revision: 310096 URL: https://svnweb.freebsd.org/changeset/base/310096 Log: reaper: Make REAPER_KILL_SUBTREE actually work. MFC after:2 weeks Modified: head/sys/kern/kern_procctl.c head/tests/sys/kern/reaper.c Modified:

svn commit: r310095 - head/bin/df

2016-12-14 Thread Brooks Davis
Author: brooks Date: Wed Dec 14 21:30:44 2016 New Revision: 310095 URL: https://svnweb.freebsd.org/changeset/base/310095 Log: Use nmount(2) rather than the obsolete mount(2). Reviewed by: cem MFC after:1 week Sponsored by: DARPA, AFRL Differential Revision:

svn commit: r310092 - head/sbin/mount

2016-12-14 Thread Brooks Davis
Author: brooks Date: Wed Dec 14 21:26:43 2016 New Revision: 310092 URL: https://svnweb.freebsd.org/changeset/base/310092 Log: Add a free_iovec() function to reset iovec's. The primary purpose is to call nmount() in a loop with new iovec's so free_iovec takes arguments by reference and

svn commit: r310091 - head/bin/ed

2016-12-14 Thread Pedro F. Giffuni
Author: pfg Date: Wed Dec 14 21:14:43 2016 New Revision: 310091 URL: https://svnweb.freebsd.org/changeset/base/310091 Log: ed(1): drop redundant parenthesis. These were Left-over from the cleanup in r309936. Modified: head/bin/ed/buf.c Modified: head/bin/ed/buf.c

svn commit: r310090 - head/bin/df

2016-12-14 Thread Brooks Davis
Author: brooks Date: Wed Dec 14 21:13:10 2016 New Revision: 310090 URL: https://svnweb.freebsd.org/changeset/base/310090 Log: Mount filesystems without executable permissions since they should never be used. Reviewed by: cem MFC after:1 week Sponsored by: DARPA, AFRL

svn commit: r310088 - head/bin/df

2016-12-14 Thread Brooks Davis
Author: brooks Date: Wed Dec 14 21:11:42 2016 New Revision: 310088 URL: https://svnweb.freebsd.org/changeset/base/310088 Log: Put the undocumented df feature of mounting filesystems from device nodes under an ifdef. Leave enabled. Reviewed by: cem MFC after:1 week Differential

svn commit: r310087 - head/share/misc

2016-12-14 Thread Rene Ladan
Author: rene (doc,ports committer) Date: Wed Dec 14 20:53:46 2016 New Revision: 310087 URL: https://svnweb.freebsd.org/changeset/base/310087 Log: Add adamw, feld and rene to the portmgr organization Modified: head/share/misc/organization.dot Modified: head/share/misc/organization.dot

Re: svn commit: r309714 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-12-14 Thread Alexander Motin
On 14.12.2016 14:03, Andriy Gapon wrote: > On 08/12/2016 17:58, Alexander Motin wrote: >> This change switches zio_timestamp_compare() from comparing uninitialized >> io_offset to really populated io_bookmark values. I haven't decided yet >> what to do with timestampts, but on simple tests

svn commit: r310086 - head/sys/dev/xen/blkfront

2016-12-14 Thread Dimitry Andric
Author: dim Date: Wed Dec 14 19:28:19 2016 New Revision: 310086 URL: https://svnweb.freebsd.org/changeset/base/310086 Log: In xbd_connect(), use correct scanf conversion specifiers for the feature_barrier and feature_flush variables. Otherwise, adjacent variables on the stack, such as

svn commit: r310085 - head/cddl/usr.sbin/dtrace/tests/tools

2016-12-14 Thread Mark Johnston
Author: markj Date: Wed Dec 14 19:01:43 2016 New Revision: 310085 URL: https://svnweb.freebsd.org/changeset/base/310085 Log: Skip a ustack test that triggers an assertion on INVARIANTS kernels. Reported by: ngie Sponsored by: Dell EMC Isilon X-MFC-With: r309698 Modified:

svn commit: r310084 - head/sys/x86/x86

2016-12-14 Thread Mark Johnston
Author: markj Date: Wed Dec 14 19:00:08 2016 New Revision: 310084 URL: https://svnweb.freebsd.org/changeset/base/310084 Log: Don't run the MCA record refill task during boot. The MCA taskqueue is not initialized until some time after CMCIs are enabled on the BSP. Reviewed by: cem,

svn commit: r310083 - head/sys/vm

2016-12-14 Thread Alan Cox
Author: alc Date: Wed Dec 14 17:28:55 2016 New Revision: 310083 URL: https://svnweb.freebsd.org/changeset/base/310083 Log: Tidy up. Mostly, remove or replace stale comments. Most of the comments in this file actually described the operation of the swap pager, not the default pager. Given

Re: svn commit: r310045 - head/sys/ddb

2016-12-14 Thread John Baldwin
On Wednesday, December 14, 2016 07:24:46 PM Bruce Evans wrote: > On Tue, 13 Dec 2016, John Baldwin wrote: > > > On Wednesday, December 14, 2016 12:18:12 AM John Baldwin wrote: > >> > >> Log: > >> Use casts to force an unsigned comparison in db_search_symbol(). > >> > >> On all of our

Re: svn commit: r310013 - head/sys/dev/xen/blkfront

2016-12-14 Thread Roger Pau Monné
On Tue, Dec 13, 2016 at 09:28:21PM +0100, Dimitry Andric wrote: > On 13 Dec 2016, at 07:54, Colin Percival wrote: > > > > Author: cperciva > > Date: Tue Dec 13 06:54:13 2016 > > New Revision: 310013 > > URL: https://svnweb.freebsd.org/changeset/base/310013 > > > > Log: > >

svn commit: r310061 - head/sys/arm/allwinner

2016-12-14 Thread Emmanuel Vadot
Author: manu Date: Wed Dec 14 15:00:24 2016 New Revision: 310061 URL: https://svnweb.freebsd.org/changeset/base/310061 Log: Add new compatible string "allwinner,sun7i-a20-mmc". New upstream DTS is using this now for A20 SoC. MFC after:3 days Modified:

svn commit: r310058 - head/sys/dev/mlx4/mlx4_core

2016-12-14 Thread Hans Petter Selasky
Author: hselasky Date: Wed Dec 14 14:13:44 2016 New Revision: 310058 URL: https://svnweb.freebsd.org/changeset/base/310058 Log: Fix initialisation of mlx4_pci_table's .driver_data fields. MFC after:1 week Differential Revision:https://reviews.freebsd.org/D8791

svn commit: r310057 - head/sys/sys

2016-12-14 Thread Ed Schouten
Author: ed Date: Wed Dec 14 13:35:33 2016 New Revision: 310057 URL: https://svnweb.freebsd.org/changeset/base/310057 Log: Revert accidental change made in r310056. Because I had to cherry-pick some of my changes in r310051, I accidentally made a typo when manually applying the rest in

svn commit: r310056 - head/sys/sys

2016-12-14 Thread Ed Schouten
Author: ed Date: Wed Dec 14 13:05:04 2016 New Revision: 310056 URL: https://svnweb.freebsd.org/changeset/base/310056 Log: Let all FEATURE()s use the same Prometheus metric. Without this change, every individual FEATURE() declaration would have an individual metric in Prometheus. Though

svn commit: r310055 - head/sys/kern

2016-12-14 Thread Ed Schouten
Author: ed Date: Wed Dec 14 13:03:01 2016 New Revision: 310055 URL: https://svnweb.freebsd.org/changeset/base/310055 Log: Add a "device_index" label to all sysctls under dev.$driver.$index. This way it becomes possible to graph a property for all instances of a single driver. For

svn commit: r310053 - head/sys/kern

2016-12-14 Thread Ed Schouten
Author: ed Date: Wed Dec 14 12:56:58 2016 New Revision: 310053 URL: https://svnweb.freebsd.org/changeset/base/310053 Log: Add labels to sysctls related to clocks. Sysctls like kern.eventtimer.et.*.quality currently embed the name of the clock device. This is problematic for the

svn commit: r310052 - in head/sys/cam: ata nvme scsi

2016-12-14 Thread Ed Schouten
Author: ed Date: Wed Dec 14 12:53:33 2016 New Revision: 310052 URL: https://svnweb.freebsd.org/changeset/base/310052 Log: Add label annotations to CAM sysctls. Under kern.cam we have certain sysctls that are per-device, such as the ones under kern.cam.ada.[0-9]+.*. Add a "device_index"

svn commit: r310051 - in head: share/man/man9 sys/kern sys/sys

2016-12-14 Thread Ed Schouten
Author: ed Date: Wed Dec 14 12:47:34 2016 New Revision: 310051 URL: https://svnweb.freebsd.org/changeset/base/310051 Log: Add support for attaching aggregation labels to sysctl objects. I'm currently working on writing a metrics exporter for the Prometheus monitoring system to provide

Re: svn commit: r310023 - in head/sys/cddl: compat/opensolaris/sys contrib/opensolaris/uts/common/fs/zfs

2016-12-14 Thread Andriy Gapon
On 13/12/2016 18:20, Alexander Motin wrote: > Author: mav > Date: Tue Dec 13 16:20:10 2016 > New Revision: 310023 > URL: https://svnweb.freebsd.org/changeset/base/310023 > > Log: > Reduce diff from Illumos by better variables mapping. > > Modified: >

Re: svn commit: r309714 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-12-14 Thread Andriy Gapon
On 08/12/2016 17:58, Alexander Motin wrote: > This change switches zio_timestamp_compare() from comparing uninitialized > io_offset to really populated io_bookmark values. I haven't decided yet > what to do with timestampts, but on simple tests this change gives the > same peformance

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

2016-12-14 Thread Konstantin Belousov
Author: kib Date: Wed Dec 14 11:40:31 2016 New Revision: 310050 URL: https://svnweb.freebsd.org/changeset/base/310050 Log: Provide non-final but valid PCB pointer for thread0 for duration of hammer_time(). This makes assembler exception handlers not fault itself when setting PCB flags, and

Re: svn commit: r310045 - head/sys/ddb

2016-12-14 Thread Bruce Evans
On Wed, 14 Dec 2016, Bruce Evans wrote: I fixed printing of negative offsets from the frame pointer on i386, but this is currently broken on i386 and never worked on other arches. DB_LARGE_VALUE_MIN has the old i386 value on all arches, but this is now wrong for i386 and never worked on other

Re: svn commit: r310045 - head/sys/ddb

2016-12-14 Thread Bruce Evans
On Tue, 13 Dec 2016, John Baldwin wrote: On Wednesday, December 14, 2016 12:18:12 AM John Baldwin wrote: Log: Use casts to force an unsigned comparison in db_search_symbol(). On all of our platforms, db_expr_t is a signed integer while db_addr_t is an unsigned integer value.