svn commit: r303988 - head/lib/libc/gen

2016-08-12 Thread Ed Schouten
Author: ed Date: Fri Aug 12 07:03:58 2016 New Revision: 303988 URL: https://svnweb.freebsd.org/changeset/base/303988 Log: Reimplement dirname(3) to be thread-safe. Now that we've updated the prototypes of the basename(3) and dirname(3) functions to conform to POSIX, let's go ahead and rei

svn commit: r303989 - head/sys/dev/hyperv/netvsc

2016-08-12 Thread Sepherosa Ziehau
Author: sephe Date: Fri Aug 12 07:14:40 2016 New Revision: 303989 URL: https://svnweb.freebsd.org/changeset/base/303989 Log: hyperv/hn: Simplify NDIS configuration. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7466 Modified:

svn commit: r303990 - head/usr.bin/kdump

2016-08-12 Thread Konstantin Belousov
Author: kib Date: Fri Aug 12 07:52:13 2016 New Revision: 303990 URL: https://svnweb.freebsd.org/changeset/base/303990 Log: Remove unused prototypes. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/usr.bin/kdump/kdump.c Modified: head/usr.bin/kdump/kdump.c

svn commit: r303991 - head/lib/libsysdecode

2016-08-12 Thread Konstantin Belousov
Author: kib Date: Fri Aug 12 07:54:59 2016 New Revision: 303991 URL: https://svnweb.freebsd.org/changeset/base/303991 Log: Decode 32bit utrace records on the 64bit host. Suppose that ktrace is performed on 32bit binary running on 64bit host. In this case, the kernel records are 64bit, wh

svn commit: r303992 - head/sys/dev/hyperv/netvsc

2016-08-12 Thread Sepherosa Ziehau
Author: sephe Date: Fri Aug 12 07:57:03 2016 New Revision: 303992 URL: https://svnweb.freebsd.org/changeset/base/303992 Log: hyperv/hn: Simplify NDIS initialization. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7467 Modified:

svn commit: r303998 - head/sys/dev/hyperv/netvsc

2016-08-12 Thread Sepherosa Ziehau
Author: sephe Date: Fri Aug 12 08:07:56 2016 New Revision: 303998 URL: https://svnweb.freebsd.org/changeset/base/303998 Log: hyperv/hn: Switch to vmbus xact APIs for NVS RXBUF connection. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.

svn commit: r304000 - head/usr.sbin/acpi/acpidump

2016-08-12 Thread Maxim Konovalov
Author: maxim Date: Fri Aug 12 08:16:35 2016 New Revision: 304000 URL: https://svnweb.freebsd.org/changeset/base/304000 Log: o Move tmpstr varibale initialization out of assert(3) call. This fixes acpidump(8) compiled with "WITHOUT_ASSERT_DEBUG=yes" that removes assert(3)'s from the code.

svn commit: r304001 - head/sys/dev/hyperv/netvsc

2016-08-12 Thread Sepherosa Ziehau
Author: sephe Date: Fri Aug 12 08:21:02 2016 New Revision: 304001 URL: https://svnweb.freebsd.org/changeset/base/304001 Log: hyperv/hn: Switch to vmbus xact APIs for NVS chimney buffer connection. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews

svn commit: r304002 - head/sys/dev/hyperv/netvsc

2016-08-12 Thread Sepherosa Ziehau
Author: sephe Date: Fri Aug 12 08:29:26 2016 New Revision: 304002 URL: https://svnweb.freebsd.org/changeset/base/304002 Log: hyperv/hn: Simplify RXBUF disconnection. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7472 Modified:

svn commit: r304004 - in head/sys/arm64: arm64 include

2016-08-12 Thread Andrew Turner
Author: andrew Date: Fri Aug 12 10:29:34 2016 New Revision: 304004 URL: https://svnweb.freebsd.org/changeset/base/304004 Log: Implement promotions and demotions in the arm64 pmap code. For now we don't promote memory as I am not sure all the demotion cases are handled, however it is useful t

Re: svn commit: r303019 - head/sys/geom

2016-08-12 Thread Andrey V. Elsukov
On 12.08.16 03:26, Bryan Drewery wrote: > On r303467 I ran into this: > > panic @ time 1470916206.652, thread 0xf8000412f000: > g_resize_provider_event but withered > cpuid = 0 > Panic occurred in module kernel loaded at 0x8020: > > Stack: -

svn commit: r304005 - head/sys/conf

2016-08-12 Thread Bryan Drewery
Author: bdrewery Date: Fri Aug 12 11:06:54 2016 New Revision: 304005 URL: https://svnweb.freebsd.org/changeset/base/304005 Log: PORTS_MODULES: Don't leak in CC/CXX/CPP. These may have ccache in them or -target/--sysroot from external compiler or SYSTEM_COMPILER support. Many ports do not

svn commit: r304006 - head

2016-08-12 Thread Bryan Drewery
Author: bdrewery Date: Fri Aug 12 13:52:51 2016 New Revision: 304006 URL: https://svnweb.freebsd.org/changeset/base/304006 Log: Avoid showing the bootstrap make command for check-old, etc. Reported by: koobs MFC after:1 week Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r304007 - head/bin/ps

2016-08-12 Thread Warren Block
Author: wblock (doc committer) Date: Fri Aug 12 14:10:11 2016 New Revision: 304007 URL: https://svnweb.freebsd.org/changeset/base/304007 Log: Correct the history of where ps first appeared. PR: 211741 Submitted by: Sevan Janiyan MFC after:1 week Modified: head/bin/ps/p

Re: svn commit: r303019 - head/sys/geom

2016-08-12 Thread Kenneth D. Merry
On Fri, Aug 12, 2016 at 13:38:21 +0300, Andrey V. Elsukov wrote: > On 12.08.16 03:26, Bryan Drewery wrote: > > On r303467 I ran into this: > > > > panic @ time 1470916206.652, thread 0xf8000412f000: > > g_resize_provider_event but withered > > cpuid = 0 > > Panic occurred in module kernel load

Re: svn commit: r303019 - head/sys/geom

2016-08-12 Thread Warner Losh
On Fri, Aug 12, 2016 at 9:11 AM, Kenneth D. Merry wrote: > On Fri, Aug 12, 2016 at 13:38:21 +0300, Andrey V. Elsukov wrote: >> On 12.08.16 03:26, Bryan Drewery wrote: >> > On r303467 I ran into this: >> > >> > panic @ time 1470916206.652, thread 0xf8000412f000: >> > g_resize_provider_event but

Re: svn commit: r303019 - head/sys/geom

2016-08-12 Thread Bryan Drewery
On 8/12/16 8:21 AM, Warner Losh wrote: > On Fri, Aug 12, 2016 at 9:17 AM, Kenneth D. Merry wrote: >> On Fri, Aug 12, 2016 at 09:13:58 -0600, Warner Losh wrote: >>> On Fri, Aug 12, 2016 at 9:11 AM, Kenneth D. Merry wrote: On Fri, Aug 12, 2016 at 13:38:21 +0300, Andrey V. Elsukov wrote: >

Re: svn commit: r303019 - head/sys/geom

2016-08-12 Thread Kenneth D. Merry
On Fri, Aug 12, 2016 at 09:13:58 -0600, Warner Losh wrote: > On Fri, Aug 12, 2016 at 9:11 AM, Kenneth D. Merry wrote: > > On Fri, Aug 12, 2016 at 13:38:21 +0300, Andrey V. Elsukov wrote: > >> On 12.08.16 03:26, Bryan Drewery wrote: > >> > On r303467 I ran into this: > >> > > >> > panic @ time 1470

Re: svn commit: r303019 - head/sys/geom

2016-08-12 Thread Warner Losh
On Fri, Aug 12, 2016 at 9:17 AM, Kenneth D. Merry wrote: > On Fri, Aug 12, 2016 at 09:13:58 -0600, Warner Losh wrote: >> On Fri, Aug 12, 2016 at 9:11 AM, Kenneth D. Merry wrote: >> > On Fri, Aug 12, 2016 at 13:38:21 +0300, Andrey V. Elsukov wrote: >> >> On 12.08.16 03:26, Bryan Drewery wrote: >>

svn commit: r304008 - head/sys/dev/filemon

2016-08-12 Thread Bryan Drewery
Author: bdrewery Date: Fri Aug 12 16:05:53 2016 New Revision: 304008 URL: https://svnweb.freebsd.org/changeset/base/304008 Log: Avoid taking PROC_LOCK in syscalls if not being traced. MFC after:1 week Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/filemon/filemo

svn commit: r304009 - head/bin/ps

2016-08-12 Thread John Baldwin
Author: jhb Date: Fri Aug 12 16:13:50 2016 New Revision: 304009 URL: https://svnweb.freebsd.org/changeset/base/304009 Log: Remove description of P_FOLLOWFORK as this flag was removed. Modified: head/bin/ps/ps.1 Modified: head/bin/ps/ps.1 ==

svn commit: r304011 - head/libexec/rtld-elf

2016-08-12 Thread Konstantin Belousov
Author: kib Date: Fri Aug 12 18:29:11 2016 New Revision: 304011 URL: https://svnweb.freebsd.org/changeset/base/304011 Log: Remove all remaining uses of TAILQ_FOREACH_FROM() from rtld-elf. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/libexec/rtld-elf/rtld.c

svn commit: r304012 - head/libexec/rtld-elf

2016-08-12 Thread Konstantin Belousov
Author: kib Date: Fri Aug 12 18:31:44 2016 New Revision: 304012 URL: https://svnweb.freebsd.org/changeset/base/304012 Log: Fill phdr and phsize for rtld object. It is needed for dl_iterate_phdr() reporting the correct values. PR: 211367 Sponsored by: The FreeBSD Foundation MFC afte

Re: svn commit: r304011 - head/libexec/rtld-elf

2016-08-12 Thread Ngie Cooper
> On Aug 12, 2016, at 11:29, Konstantin Belousov wrote: > > Author: kib > Date: Fri Aug 12 18:29:11 2016 > New Revision: 304011 > URL: https://svnweb.freebsd.org/changeset/base/304011 > > Log: > Remove all remaining uses of TAILQ_FOREACH_FROM() from rtld-elf. Why? > Sponsored by:The Fre

Re: svn commit: r304011 - head/libexec/rtld-elf

2016-08-12 Thread Konstantin Belousov
On Fri, Aug 12, 2016 at 11:34:42AM -0700, Ngie Cooper wrote: > > > On Aug 12, 2016, at 11:29, Konstantin Belousov wrote: > > > > Author: kib > > Date: Fri Aug 12 18:29:11 2016 > > New Revision: 304011 > > URL: https://svnweb.freebsd.org/changeset/base/304011 > > > > Log: > > Remove all remaini

Re: svn commit: r303848 - head/sys/netgraph

2016-08-12 Thread Gleb Smirnoff
Hi! Sorry, I'm afraid this isn't a correct fix. Simply adding checks against NULL to avoid panics at race conditions isn't a solution. I can provide help with this problem. It must be related to my callout changes, in case if this is a very recent problem. Is it a recent problem or an old on

svn commit: r304016 - in head: lib/libsysdecode libexec/rtld-elf

2016-08-12 Thread Konstantin Belousov
Author: kib Date: Fri Aug 12 19:31:41 2016 New Revision: 304016 URL: https://svnweb.freebsd.org/changeset/base/304016 Log: Move defines common between rtld and libsysdecode into the header, instead of copying inline into sources. Sponsored by: The FreeBSD Foundation MFC after:1 week

Re: svn commit: r304011 - head/libexec/rtld-elf

2016-08-12 Thread Ed Schouten
2016-08-12 20:36 GMT+02:00 Konstantin Belousov : > Because the API is unusable. It causes full queue iteration when the object > is NULL, i.e. at the end of the queue, instead of doing nothing. Ah, thanks for working on this then. I personally think that all of those macros in that run in linear

Re: svn commit: r304011 - head/libexec/rtld-elf

2016-08-12 Thread Konstantin Belousov
On Fri, Aug 12, 2016 at 09:32:37PM +0200, Ed Schouten wrote: > 2016-08-12 20:36 GMT+02:00 Konstantin Belousov : > > Because the API is unusable. It causes full queue iteration when the object > > is NULL, i.e. at the end of the queue, instead of doing nothing. > > Ah, thanks for working on this t

svn commit: r304018 - head/sys/boot/efi/loader

2016-08-12 Thread John Baldwin
Author: jhb Date: Fri Aug 12 19:47:20 2016 New Revision: 304018 URL: https://svnweb.freebsd.org/changeset/base/304018 Log: Add defines needed to export SMBIOS serial numbers Some defines needed for exporting serial numbers from the SMBIOS were missed during integration of SMBIOS support i

Re: svn commit: r304011 - head/libexec/rtld-elf

2016-08-12 Thread Ed Schouten
Hi Kostik, 2016-08-12 21:35 GMT+02:00 Konstantin Belousov : > What is improper about the tail-queue for global object list ? > Typical operations with it involve all objects in the list. The only > special ops I am aware are lookups by name or by dev_t/inode, but having > the parallel (two) maps

Re: svn commit: r303019 - head/sys/geom

2016-08-12 Thread Ngie Cooper
On Fri, Aug 12, 2016 at 8:23 AM, Bryan Drewery wrote: ... > No, I was missing r303637. Hard to say if it is related... Andrey says > it's not. I haven't dived into it yet and it's so far only happened > once (out of a few tests). We do have various customizations but I'm > inclined to think i

Re: svn commit: r304011 - head/libexec/rtld-elf

2016-08-12 Thread Ngie Cooper
On Fri, Aug 12, 2016 at 11:36 AM, Konstantin Belousov wrote: ... > Because the API is unusable. It causes full queue iteration when the object > is NULL, i.e. at the end of the queue, instead of doing nothing. It would have been nice if this had been documented in the commit message instea

svn commit: r304021 - in head/sys: conf kern net sys

2016-08-12 Thread Stephen Hurd
Author: shurd (ports committer) Date: Fri Aug 12 21:29:44 2016 New Revision: 304021 URL: https://svnweb.freebsd.org/changeset/base/304021 Log: Update iflib to support more NIC designs - Move group task queue into kern/subr_gtaskqueue.c - Change intr_enable to return an int so it can be de

Re: svn commit: r304021 - in head/sys: conf kern net sys

2016-08-12 Thread Conrad Meyer
A manual page for gtaskqueue would be nice, if you have time. Thanks, Conrad On Fri, Aug 12, 2016 at 2:29 PM, Stephen Hurd wrote: > Author: shurd (ports committer) > Date: Fri Aug 12 21:29:44 2016 > New Revision: 304021 > URL: https://svnweb.freebsd.org/changeset/base/304021 > > Log: > Update

Re: svn commit: r303848 - head/sys/netgraph

2016-08-12 Thread Sean Bruno
The original problem was reported in this review, it doesn't look like an "old" problem IMO. sean https://reviews.freebsd.org/D7209 ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send an

svn commit: r304023 - head/sys/kern

2016-08-12 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Aug 12 22:20:52 2016 New Revision: 304023 URL: https://svnweb.freebsd.org/changeset/base/304023 Log: Print vnode details when vnode locking assertion gets triggered. MFC after:1 month Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c =

svn commit: r304024 - head/sys/kern

2016-08-12 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Aug 12 22:22:11 2016 New Revision: 304024 URL: https://svnweb.freebsd.org/changeset/base/304024 Log: Remove unused "X" vnode lock assertion, somehow missed in r303743. MFC after:1 month Modified: head/sys/kern/vnode_if.src Modified: head/sys/kern/vnode_if.src

Re: svn commit: r303848 - head/sys/netgraph

2016-08-12 Thread Ngie Cooper (yaneurabeya)
> On Aug 12, 2016, at 11:38, Gleb Smirnoff wrote: > > Hi! > > Sorry, I'm afraid this isn't a correct fix. Simply adding checks > against NULL to avoid panics at race conditions isn't a solution. > > I can provide help with this problem. It must be related to my > callout changes, in case if

svn commit: r304025 - head/share/misc

2016-08-12 Thread Toomas Soome
Author: tsoome Date: Fri Aug 12 22:25:01 2016 New Revision: 304025 URL: https://svnweb.freebsd.org/changeset/base/304025 Log: Reviewed by:allanjude Approved by: allanjude (mentor) Differential Revision:https://reviews.freebsd.org/D7491 Modified: head/share/misc/committers-src

svn commit: r304026 - in head/sys/fs: nfs nfsclient nfsserver

2016-08-12 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 12 22:44:59 2016 New Revision: 304026 URL: https://svnweb.freebsd.org/changeset/base/304026 Log: Update the nfsstats structure to include the changes needed by the patch in D1626 plus changes so that it includes counts for NFSv4.1 (and the draft of NFSv4.2).

Re: svn commit: r304021 - in head/sys: conf kern net sys

2016-08-12 Thread Stephen Hurd
Conrad Meyer wrote: > A manual page for gtaskqueue would be nice, if you have time. I'll try to pull something together in the next few days. ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe

svn commit: r304033 - head/lib/libc/tests/resolv

2016-08-12 Thread Garrett Cooper
Author: ngie Date: Sat Aug 13 01:49:11 2016 New Revision: 304033 URL: https://svnweb.freebsd.org/changeset/base/304033 Log: Increase timeout from 10 minutes to 20 minutes for all tests On particular slow networks, it can (on average) take longer to resolve hosts to IP* addresses. 20 minut

Re: svn commit: r304033 - head/lib/libc/tests/resolv

2016-08-12 Thread Ngie Cooper
On Fri, Aug 12, 2016 at 6:49 PM, Garrett Cooper wrote: > Author: ngie > Date: Sat Aug 13 01:49:11 2016 > New Revision: 304033 > URL: https://svnweb.freebsd.org/changeset/base/304033 > > Log: > Increase timeout from 10 minutes to 20 minutes for all tests Ugh... I meant 7.5 minutes. Sorry >_>...

svn commit: r304034 - head/lib/libc/net

2016-08-12 Thread Garrett Cooper
Author: ngie Date: Sat Aug 13 02:05:06 2016 New Revision: 304034 URL: https://svnweb.freebsd.org/changeset/base/304034 Log: Initialize `ai` to NULL and test for `ai` with type-appropriate values Depending on the address family and ai_flags containing AI_V4MAPPED, it might not do a proper

Re: svn commit: r303019 - head/sys/geom

2016-08-12 Thread Warner Losh
On Fri, Aug 12, 2016 at 3:06 PM, Ngie Cooper wrote: > On Fri, Aug 12, 2016 at 8:23 AM, Bryan Drewery wrote: > > ... > >> No, I was missing r303637. Hard to say if it is related... Andrey says >> it's not. I haven't dived into it yet and it's so far only happened >> once (out of a few tests). W

svn commit: r304040 - head/tests/sys/acl

2016-08-12 Thread Garrett Cooper
Author: ngie Date: Sat Aug 13 06:26:33 2016 New Revision: 304040 URL: https://svnweb.freebsd.org/changeset/base/304040 Log: Redirect the output of the testcases to stderr instead of redirecting it to /dev/null This will aid in debugging failures MFC after:1 week Sponsored by: E