svn commit: r325051 - head/sys/ufs/ffs

2017-10-27 Thread Mark Johnston
Author: markj Date: Sat Oct 28 02:51:27 2017 New Revision: 325051 URL: https://svnweb.freebsd.org/changeset/base/325051 Log: Remove a stale and incorrect comment. MFC after:1 week Sponsored by: Dell EMC Isilon Modified: head/sys/ufs/ffs/ffs_softdep.c Modified: head/sys/ufs/ffs/ffs

svn commit: r325050 - head/sys/ufs/ffs

2017-10-27 Thread Mark Johnston
Author: markj Date: Sat Oct 28 02:48:37 2017 New Revision: 325050 URL: https://svnweb.freebsd.org/changeset/base/325050 Log: Remove workqueue items after updating the workqueue tail pointer. When QUEUE_MACRO_DEBUG_TRASH is configured, the queue linkage fields are trashed upon removal of t

Re: svn commit: r325016 - head/lib/libdevdctl

2017-10-27 Thread Ngie Cooper
> On Oct 26, 2017, at 10:56, Alan Somers wrote: > > Author: asomers > Date: Thu Oct 26 17:56:34 2017 > New Revision: 325016 > URL: https://svnweb.freebsd.org/changeset/base/325016 > > Log: > Partially revert r325011: restore Guid's default constructor > > Reported by:ohartmann > MFC aft

svn commit: r325049 - in head: usr.bin/ruptime usr.bin/rwho usr.sbin/rwhod

2017-10-27 Thread Jeremie Le Hen
Author: jlh Date: Fri Oct 27 21:48:02 2017 New Revision: 325049 URL: https://svnweb.freebsd.org/changeset/base/325049 Log: Update manpage date to when the deprecation notice was removed. Reported by: bcr Modified: head/usr.bin/ruptime/ruptime.1 head/usr.bin/rwho/rwho.1 head/usr.sbin

svn commit: r325048 - head/sys/dev/usb/net

2017-10-27 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Oct 27 21:22:38 2017 New Revision: 325048 URL: https://svnweb.freebsd.org/changeset/base/325048 Log: Fix MAC address detection regression introduced by r324184 To accomodate all variaties of Pi DTS files floating around we look for MAC address property either in DT

svn commit: r325047 - head/contrib/dma

2017-10-27 Thread Ed Maste
Author: emaste Date: Fri Oct 27 20:21:09 2017 New Revision: 325047 URL: https://svnweb.freebsd.org/changeset/base/325047 Log: dma: fix use-after-free Sponsored by: The FreeBSD Foundation Modified: head/contrib/dma/dma.c Modified: head/contrib/dma/dma.c ==

svn commit: r325046 - head/sys/netinet

2017-10-27 Thread Michael Tuexen
Author: tuexen Date: Fri Oct 27 19:27:05 2017 New Revision: 325046 URL: https://svnweb.freebsd.org/changeset/base/325046 Log: Fix parsing error when processing cmsg in SCTP send calls. Thei bug is related to a signed/unsigned mismatch. This should most likely fix the issue in sctp_sosend rep

Re: svn commit: r324938 - head/contrib/jemalloc/include/jemalloc/internal

2017-10-27 Thread Konstantin Belousov
On Fri, Oct 27, 2017 at 07:48:43PM +0200, Michal Meloun wrote: > But there is something what's still missing me. > The rescue binary is statically linked, so whole program have only one > TLS section and full TLS layout is determined by linker. > The problematic structure, tsd_tls, is first one in

Re: svn commit: r324938 - head/contrib/jemalloc/include/jemalloc/internal

2017-10-27 Thread Michal Meloun
On Fri, Oct 27, 2017 at 19:48:43 +0200, Michal Meloun wrote: > On 27.10.2017 17:21, Brooks Davis wrote: >> On Fri, Oct 27, 2017 at 06:08:41PM +0300, Konstantin Belousov >> wrote: >>> On Fri, Oct 27, 2017 at 02:53:26PM +0200, Michal Meloun wrote: Sorry for top posting That's pity, we have clear

Re: svn commit: r324938 - head/contrib/jemalloc/include/jemalloc/internal

2017-10-27 Thread Michal Meloun
On 27.10.2017 17:21, Brooks Davis wrote: > On Fri, Oct 27, 2017 at 06:08:41PM +0300, Konstantin Belousov > wrote: >> On Fri, Oct 27, 2017 at 02:53:26PM +0200, Michal Meloun wrote: >>> Sorry for top posting That's pity, we have clear problem in >>> rtld code :( See: >>> --

svn commit: r325045 - head/sys/dev/sdhci

2017-10-27 Thread Ian Lepore
Author: ian Date: Fri Oct 27 17:21:43 2017 New Revision: 325045 URL: https://svnweb.freebsd.org/changeset/base/325045 Log: Actually release resources in detach() rather than just returning EBUSY. This will enable use of 'devctl disable', allow creation of a module, etc. Modified: head/sys/d

svn commit: r325044 - head/sys/geom/mirror

2017-10-27 Thread Mark Johnston
Author: markj Date: Fri Oct 27 17:05:14 2017 New Revision: 325044 URL: https://svnweb.freebsd.org/changeset/base/325044 Log: Fix a lock leak in g_mirror_destroy(). g_mirror_destroy() is supposed to unlock the softc before indicating success, but it wasn't doing so if the caller raced with

Re: svn commit: r325041 - stable/11/lib/libprocstat

2017-10-27 Thread Dan Mack
Konstantin Belousov writes: > On Fri, Oct 27, 2017 at 11:38:28AM -0500, Dan Mack wrote: >> Bryan Drewery writes: >> >> > On 10/27/2017 8:33 AM, Konstantin Belousov wrote: >> >> Author: kib >> >> Date: Fri Oct 27 15:33:26 2017 >> >> New Revision: 325041 >> >> URL: https://svnweb.freebsd.org/chan

Re: svn commit: r325041 - stable/11/lib/libprocstat

2017-10-27 Thread Konstantin Belousov
On Fri, Oct 27, 2017 at 11:38:28AM -0500, Dan Mack wrote: > Bryan Drewery writes: > > > On 10/27/2017 8:33 AM, Konstantin Belousov wrote: > >> Author: kib > >> Date: Fri Oct 27 15:33:26 2017 > >> New Revision: 325041 > >> URL: https://svnweb.freebsd.org/changeset/base/325041 > >> > >> Log: > >>

Re: svn commit: r325042 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2017-10-27 Thread Michal Meloun
On 27.10.2017 18:23, Ed Maste wrote: > Author: emaste > Date: Fri Oct 27 16:23:45 2017 > New Revision: 325042 > URL: https://svnweb.freebsd.org/changeset/base/325042 > > Log: > libdtrace: replace "DOODAD" with more descriptive string > > Previously some unimplemented libdtrace routines pr

Re: svn commit: r325041 - stable/11/lib/libprocstat

2017-10-27 Thread Dan Mack
Bryan Drewery writes: > On 10/27/2017 8:33 AM, Konstantin Belousov wrote: >> Author: kib >> Date: Fri Oct 27 15:33:26 2017 >> New Revision: 325041 >> URL: https://svnweb.freebsd.org/changeset/base/325041 >> >> Log: >> MFC r316304 (by tychon): >> Reorder includes to placate MIPS build. >>

svn commit: r325043 - head/sys/compat/linux

2017-10-27 Thread David E. O'Brien
Author: obrien Date: Fri Oct 27 16:36:05 2017 New Revision: 325043 URL: https://svnweb.freebsd.org/changeset/base/325043 Log: Update comment to match r177997 & r178036 changes. Modified: head/sys/compat/linux/linux_file.c Modified: head/sys/compat/linux/linux_file.c =

svn commit: r325042 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2017-10-27 Thread Ed Maste
Author: emaste Date: Fri Oct 27 16:23:45 2017 New Revision: 325042 URL: https://svnweb.freebsd.org/changeset/base/325042 Log: libdtrace: replace "DOODAD" with more descriptive string Previously some unimplemented libdtrace routines printed the function, file and line number, followed by "

Re: svn commit: r325041 - stable/11/lib/libprocstat

2017-10-27 Thread Bryan Drewery
On 10/27/2017 8:33 AM, Konstantin Belousov wrote: > Author: kib > Date: Fri Oct 27 15:33:26 2017 > New Revision: 325041 > URL: https://svnweb.freebsd.org/changeset/base/325041 > > Log: > MFC r316304 (by tychon): > Reorder includes to placate MIPS build. > > Reported and tested by: Dav

Re: svn commit: r325026 - head/sys/cam/ata

2017-10-27 Thread Warner Losh
On Fri, Oct 27, 2017 at 9:52 AM, Ian Lepore wrote: > On Thu, 2017-10-26 at 20:27 -0600, Warner Losh wrote: > > On Thu, Oct 26, 2017 at 5:35 PM, Warner Losh wrote: > > > > > > > > > > > > > > On Thu, Oct 26, 2017 at 5:04 PM, Alan Somers > wrote: > > > > > > > > > > > On Thu, Oct 26, 2017 at 4:53

Re: svn commit: r325026 - head/sys/cam/ata

2017-10-27 Thread Ian Lepore
On Thu, 2017-10-26 at 20:27 -0600, Warner Losh wrote: > On Thu, Oct 26, 2017 at 5:35 PM, Warner Losh wrote: > > > > > > > > > On Thu, Oct 26, 2017 at 5:04 PM, Alan Somers wrote: > > > > > > > > On Thu, Oct 26, 2017 at 4:53 PM, Warner Losh wrote: > > > > > > > > Author: imp > > > > Date: T

Re: svn commit: r325040 - head/sys/cam/nvme

2017-10-27 Thread Warner Losh
On Fri, Oct 27, 2017 at 9:05 AM, Alan Somers wrote: > On Fri, Oct 27, 2017 at 8:57 AM, Warner Losh wrote: > > Author: imp > > Date: Fri Oct 27 14:57:38 2017 > > New Revision: 325040 > > URL: https://svnweb.freebsd.org/changeset/base/325040 > > > > Log: > > nvd alias has caused some problems, r

svn commit: r325041 - stable/11/lib/libprocstat

2017-10-27 Thread Konstantin Belousov
Author: kib Date: Fri Oct 27 15:33:26 2017 New Revision: 325041 URL: https://svnweb.freebsd.org/changeset/base/325041 Log: MFC r316304 (by tychon): Reorder includes to placate MIPS build. Reported and tested by: David Wolfskill Modified: stable/11/lib/libprocstat/libprocstat.c Di

Re: svn commit: r324938 - head/contrib/jemalloc/include/jemalloc/internal

2017-10-27 Thread Brooks Davis
On Fri, Oct 27, 2017 at 06:08:41PM +0300, Konstantin Belousov wrote: > On Fri, Oct 27, 2017 at 02:53:26PM +0200, Michal Meloun wrote: > > Sorry for top posting > > That's pity, we have clear problem in rtld code :( > > See: > > - > > RESCUE WITHOU

Re: svn commit: r324938 - head/contrib/jemalloc/include/jemalloc/internal

2017-10-27 Thread Konstantin Belousov
On Fri, Oct 27, 2017 at 02:53:26PM +0200, Michal Meloun wrote: > Sorry for top posting > That's pity, we have clear problem in rtld code :( > See: > - > RESCUE WITHOUT JEMALLOC_ALIGNED(16); > - >

Re: svn commit: r325026 - head/sys/cam/ata

2017-10-27 Thread Warner Losh
On Fri, Oct 27, 2017 at 8:50 AM, Alan Somers wrote: > On Thu, Oct 26, 2017 at 8:27 PM, Warner Losh wrote: > > > > > > On Thu, Oct 26, 2017 at 5:35 PM, Warner Losh wrote: > >> > >> > >> > >> On Thu, Oct 26, 2017 at 5:04 PM, Alan Somers > wrote: > >>> > >>> On Thu, Oct 26, 2017 at 4:53 PM, Warne

Re: svn commit: r325040 - head/sys/cam/nvme

2017-10-27 Thread Alan Somers
On Fri, Oct 27, 2017 at 8:57 AM, Warner Losh wrote: > Author: imp > Date: Fri Oct 27 14:57:38 2017 > New Revision: 325040 > URL: https://svnweb.freebsd.org/changeset/base/325040 > > Log: > nvd alias has caused some problems, revert it for the moment. > > Sponsored by: Netflix > > Modified: >

svn commit: r325040 - head/sys/cam/nvme

2017-10-27 Thread Warner Losh
Author: imp Date: Fri Oct 27 14:57:38 2017 New Revision: 325040 URL: https://svnweb.freebsd.org/changeset/base/325040 Log: nvd alias has caused some problems, revert it for the moment. Sponsored by: Netflix Modified: head/sys/cam/nvme/nvme_da.c Modified: head/sys/cam/nvme/nvme_da.c

svn commit: r325039 - head/sys/amd64/vmm/io

2017-10-27 Thread John Baldwin
Author: jhb Date: Fri Oct 27 14:57:14 2017 New Revision: 325039 URL: https://svnweb.freebsd.org/changeset/base/325039 Log: Rework pass through changes in r305485 to be safer. Specifically, devices that do not support PCI-e FLR and were not gracefully shutdown by the guest OS could continu

Re: svn commit: r325026 - head/sys/cam/ata

2017-10-27 Thread Alan Somers
On Thu, Oct 26, 2017 at 8:27 PM, Warner Losh wrote: > > > On Thu, Oct 26, 2017 at 5:35 PM, Warner Losh wrote: >> >> >> >> On Thu, Oct 26, 2017 at 5:04 PM, Alan Somers wrote: >>> >>> On Thu, Oct 26, 2017 at 4:53 PM, Warner Losh wrote: >>> > Author: imp >>> > Date: Thu Oct 26 22:53:49 2017 >>> >

svn commit: r325038 - stable/11/sys/kern

2017-10-27 Thread Mark Johnston
Author: markj Date: Fri Oct 27 14:24:35 2017 New Revision: 325038 URL: https://svnweb.freebsd.org/changeset/base/325038 Log: MFC r324804: Avoid the nbp lookup in the final loop iteration in flushbuflist(). Modified: stable/11/sys/kern/vfs_subr.c Directory Properties: stable/11/ (props c

svn commit: r325037 - stable/10/sys/vm

2017-10-27 Thread Mark Johnston
Author: markj Date: Fri Oct 27 14:23:53 2017 New Revision: 325037 URL: https://svnweb.freebsd.org/changeset/base/325037 Log: MFC r324809: Free the right address range if kmem_back() fails in memguard_alloc(). Modified: stable/10/sys/vm/memguard.c Directory Properties: stable/10/ (props

svn commit: r325036 - stable/11/sys/vm

2017-10-27 Thread Mark Johnston
Author: markj Date: Fri Oct 27 14:22:56 2017 New Revision: 325036 URL: https://svnweb.freebsd.org/changeset/base/325036 Log: MFC r324809: Free the right address range if kmem_back() fails in memguard_alloc(). Modified: stable/11/sys/vm/memguard.c Directory Properties: stable/11/ (props

Re: svn commit: r324938 - head/contrib/jemalloc/include/jemalloc/internal

2017-10-27 Thread Michal Meloun
Sorry for top posting That's pity, we have clear problem in rtld code :( See: - RESCUE WITHOUT JEMALLOC_ALIGNED(16); - Program Headers: TLS0xa732b0 0x00a832b0 0x00a832b0 0x00b40 0x0

svn commit: r325035 - in head/cddl: contrib/opensolaris/cmd/zdb contrib/opensolaris/cmd/ztest contrib/opensolaris/lib/libcmdutils contrib/opensolaris/lib/libzfs/common contrib/opensolaris/lib/libzp...

2017-10-27 Thread Andriy Gapon
Author: avg Date: Fri Oct 27 12:37:22 2017 New Revision: 325035 URL: https://svnweb.freebsd.org/changeset/base/325035 Log: MFV r325013,r325034: 640 number_to_scaled_string is duplicated in several commands illumos/illumos-gate@0a0551200ecbcd4f1b17560acaeeb7b6c8b0090e https://github.com/

svn commit: r325034 - vendor/illumos/dist/lib/libcmdutils

2017-10-27 Thread Andriy Gapon
Author: avg Date: Fri Oct 27 11:26:36 2017 New Revision: 325034 URL: https://svnweb.freebsd.org/changeset/base/325034 Log: follow up to r325013, add libcmdutils.h to the vendor area Added: vendor/illumos/dist/lib/libcmdutils/libcmdutils.h (contents, props changed) Added: vendor/illumos/dis

Re: svn commit: r324938 - head/contrib/jemalloc/include/jemalloc/internal

2017-10-27 Thread Michal Meloun
On 27.10.2017 9:53, Dimitry Andric wrote: > On 27 Oct 2017, at 08:33, Michal Meloun wrote: >> >> On 23.10.2017 23:31, Dimitry Andric wrote: >>> Author: dim >>> Date: Mon Oct 23 21:31:04 2017 >>> New Revision: 324938 >>> URL: https://svnweb.freebsd.org/changeset/base/324938 >>> >>> Log: >>> Afte

svn commit: r325033 - stable/11/sys/vm

2017-10-27 Thread Konstantin Belousov
Author: kib Date: Fri Oct 27 08:53:09 2017 New Revision: 325033 URL: https://svnweb.freebsd.org/changeset/base/325033 Log: MFC r324793: In vm_page_free_phys_pglist(), do not take vm_page_queue_free_mtx if there is nothing to do. Modified: stable/11/sys/vm/vm_page.c Directory Properties:

Re: svn commit: r324938 - head/contrib/jemalloc/include/jemalloc/internal

2017-10-27 Thread Dimitry Andric
On 27 Oct 2017, at 08:33, Michal Meloun wrote: > > On 23.10.2017 23:31, Dimitry Andric wrote: >> Author: dim >> Date: Mon Oct 23 21:31:04 2017 >> New Revision: 324938 >> URL: https://svnweb.freebsd.org/changeset/base/324938 >> >> Log: >> After jemalloc was updated to version 5.0.0 in r319971, i