svn commit: r305056 - head/sys/vm

2016-08-29 Thread Mark Johnston
Author: markj Date: Tue Aug 30 05:56:21 2016 New Revision: 305056 URL: https://svnweb.freebsd.org/changeset/base/305056 Log: Restore swap pager readahead after r292373. The removal of vm_fault_additional_pages() meant that a hard fault on a swap-backed page would result in only that page

svn commit: r305055 - head/cddl/contrib/opensolaris/common/ctf

2016-08-29 Thread Mark Johnston
Author: markj Date: Tue Aug 30 05:50:42 2016 New Revision: 305055 URL: https://svnweb.freebsd.org/changeset/base/305055 Log: Recursively enumerate anonymous structs and unions in ctf_member_info(). Previously, ctf_member_info() would ignore members belonging to an anonymous struct or

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

2016-08-29 Thread Sepherosa Ziehau
Author: sephe Date: Tue Aug 30 05:47:58 2016 New Revision: 305054 URL: https://svnweb.freebsd.org/changeset/base/305054 Log: hyperv/hn: Remove unnecessary NULL check. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7690 Modified:

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

2016-08-29 Thread Sepherosa Ziehau
Author: sephe Date: Tue Aug 30 05:35:19 2016 New Revision: 305053 URL: https://svnweb.freebsd.org/changeset/base/305053 Log: hyperv/hn: Log packet message alignment. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7689 Modified:

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

2016-08-29 Thread Sepherosa Ziehau
Author: sephe Date: Tue Aug 30 05:21:34 2016 New Revision: 305052 URL: https://svnweb.freebsd.org/changeset/base/305052 Log: hyperv/hn: Remove the useless rndis_device and related bits MFC after:1 week Sponsored by: Microsoft Differential Revision:

svn commit: r305051 - head/sys/sys

2016-08-29 Thread Kevin Lo
Author: kevlo Date: Tue Aug 30 05:15:42 2016 New Revision: 305051 URL: https://svnweb.freebsd.org/changeset/base/305051 Log: Zap M_IOVEC. Reviewed by: Matthew Macy Modified: head/sys/sys/mbuf.h Modified: head/sys/sys/mbuf.h

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

2016-08-29 Thread Sepherosa Ziehau
Author: sephe Date: Tue Aug 30 05:09:26 2016 New Revision: 305050 URL: https://svnweb.freebsd.org/changeset/base/305050 Log: hyperv/hn: Switch to new RNDIS transaction execution for halt. MFC after:1 week Sponsored by: Microsoft Differential Revision:

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

2016-08-29 Thread Sepherosa Ziehau
Author: sephe Date: Tue Aug 30 04:04:29 2016 New Revision: 305049 URL: https://svnweb.freebsd.org/changeset/base/305049 Log: hyperv/hn: Factor out func to exec RNDIS transaction w/o checking result It will be used by RNDIS HALT and RESET. MFC after:1 week Sponsored by: Microsoft

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

2016-08-29 Thread Sepherosa Ziehau
Author: sephe Date: Tue Aug 30 03:55:43 2016 New Revision: 305048 URL: https://svnweb.freebsd.org/changeset/base/305048 Log: hyperv/hn: Remove unused function MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7684 Modified:

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

2016-08-29 Thread Sepherosa Ziehau
Author: sephe Date: Tue Aug 30 03:40:22 2016 New Revision: 305047 URL: https://svnweb.freebsd.org/changeset/base/305047 Log: hyperv/hn: Switch to new RNDIS set for RX filters. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7683

svn commit: r305046 - in head/sys: dev/hyperv/netvsc dev/usb/net net

2016-08-29 Thread Sepherosa Ziehau
Author: sephe Date: Tue Aug 30 03:11:07 2016 New Revision: 305046 URL: https://svnweb.freebsd.org/changeset/base/305046 Log: net/rndis: Packet types are defined by NDIS; not RNDIS specific. Reviewed by: hps MFC after:1 week Sponsored by: Microsoft Differential Revision:

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

2016-08-29 Thread Sepherosa Ziehau
Author: sephe Date: Tue Aug 30 03:03:19 2016 New Revision: 305045 URL: https://svnweb.freebsd.org/changeset/base/305045 Log: hyperv/hn: Indentation and field comment fixup for ndis.h. MFC after:1 week Sponsored by: Microsoft Differential Revision:

svn commit: r305044 - in head/sys: dev/hyperv/netvsc net

2016-08-29 Thread Sepherosa Ziehau
Author: sephe Date: Tue Aug 30 02:55:07 2016 New Revision: 305044 URL: https://svnweb.freebsd.org/changeset/base/305044 Log: hyperv/hn: Move OIDs to net/rndis.h; they are standard NDIS OIDs. Actually all OIDs defined in net/rndis.h are standard NDIS OIDs. While I'm here, use the verbose

svn commit: r305043 - head/sys/powerpc/mpc85xx

2016-08-29 Thread Justin Hibbits
Author: jhibbits Date: Tue Aug 30 02:09:40 2016 New Revision: 305043 URL: https://svnweb.freebsd.org/changeset/base/305043 Log: Attach and LAW problems to fix Summary: 1) Attach problem - mpc85xx_probe() relies on fact that 0xfff0 mask matches all QorIQ CPUs what is not true since

svn commit: r305041 - head/lib/atf/libatf-c

2016-08-29 Thread Ngie Cooper
Author: ngie Date: Tue Aug 30 02:04:55 2016 New Revision: 305041 URL: https://svnweb.freebsd.org/changeset/base/305041 Log: Filter certain compile-time options into -DATF_BUILD_* Items filtered through are: - Constant defines (-D) - Include flags (-I) - Linker flags (-L) -

svn commit: r305040 - head/sys/dev/tsec

2016-08-29 Thread Justin Hibbits
Author: jhibbits Date: Tue Aug 30 01:58:49 2016 New Revision: 305040 URL: https://svnweb.freebsd.org/changeset/base/305040 Log: Add support for NXP/Freescale etsec2 ethernet controller Adding the compatible property check isn't enough. Device trees for eTSEC2 devices are missing a 'reg'

svn commit: r305039 - head/sys/arm/ti

2016-08-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Aug 30 01:31:03 2016 New Revision: 305039 URL: https://svnweb.freebsd.org/changeset/base/305039 Log: Fix TI PRUSS driver panic with INVARIANTS enabled Value passed as islocked argument to knlist_add should be consistent with actual lock state so add lock/unlock

svn commit: r305036 - head/sys/boot/powerpc/boot1.chrp

2016-08-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Aug 30 00:47:21 2016 New Revision: 305036 URL: https://svnweb.freebsd.org/changeset/base/305036 Log: Some versions of SLOF do not append the partition number to the boot device argument to the stage-1 bootloader. In such cases, boot1 would only try to read the

Re: svn commit: r304895 - head/usr.bin/netstat

2016-08-29 Thread hiren panchasara
On 08/29/16 at 05:14P, Bruce Evans wrote: > On Sun, 28 Aug 2016, hiren panchasara wrote: > > > On 08/27/16 at 11:06P, Bruce Evans wrote: > >> > >> Log: > >> Fix build without INET6 and with gcc. A function definition was ifdefed > >> for INET6, but its protototype was not, and gcc detects

Re: svn commit: r305034 - in head: lib/libdevctl sys/kern sys/sys usr.sbin/devctl

2016-08-29 Thread John Baldwin
On Monday, August 29, 2016 10:48:36 PM John Baldwin wrote: > Author: jhb > Date: Mon Aug 29 22:48:36 2016 > New Revision: 305034 > URL: https://svnweb.freebsd.org/changeset/base/305034 > > Log: > Implement 'devctl clear driver' to undo a previous 'devctl set driver'. > > Add a new 'clear

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-29 Thread Adrian Chadd
On 29 August 2016 at 15:00, Gleb Smirnoff wrote: > On Sat, Aug 20, 2016 at 12:36:58PM -0400, Ryan Stone wrote: > R> - The if_addr_lock would appear to be an excellent candidate to be > R> converted into an rmlock, but unfortunately we made the mistake of exposing > R> the

svn commit: r305034 - in head: lib/libdevctl sys/kern sys/sys usr.sbin/devctl

2016-08-29 Thread John Baldwin
Author: jhb Date: Mon Aug 29 22:48:36 2016 New Revision: 305034 URL: https://svnweb.freebsd.org/changeset/base/305034 Log: Implement 'devctl clear driver' to undo a previous 'devctl set driver'. Add a new 'clear driver' command for devctl along with the accompanying ioctl and

svn commit: r305033 - in head/lib/atf: libatf-c libatf-c++

2016-08-29 Thread Ngie Cooper
Author: ngie Date: Mon Aug 29 22:47:53 2016 New Revision: 305033 URL: https://svnweb.freebsd.org/changeset/base/305033 Log: Minor Makefile simplifications for lib/atf/... - Replace uses of `${.CURDIR:H:H:H}` with ${SRCTOP} - Use built-in :H operator instead of ".." when enumerating

svn commit: r305032 - head/sys/dev/cxgbe

2016-08-29 Thread John Baldwin
Author: jhb Date: Mon Aug 29 22:47:14 2016 New Revision: 305032 URL: https://svnweb.freebsd.org/changeset/base/305032 Log: Use device_verbose() to undo device_quiet() when detaching from t[45]iovX. The device quiet flag is not automatically reset on detach, so it is inherited by other

svn commit: r305031 - head/contrib/netbsd-tests/usr.bin/dirname

2016-08-29 Thread Ngie Cooper
Author: ngie Date: Mon Aug 29 22:38:18 2016 New Revision: 305031 URL: https://svnweb.freebsd.org/changeset/base/305031 Log: Fix typo atf_tc_expect_fail should have been atf_expect_fail per atf-sh-api(3) PR: 212193 Pointyhat to: ngie Sponsored by: EMC / Isilon Storage

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-29 Thread Gleb Smirnoff
On Sat, Aug 20, 2016 at 11:27:25AM -0400, Ryan Stone wrote: R> > where the link layer does not have the concept of broadcast being distinct R> > from other kinds of network traffic. PPP and ATM are the most obvious R> > examples. R> R> We don't support ATM, but PPP is a good example. We support

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-29 Thread Gleb Smirnoff
On Sat, Aug 20, 2016 at 12:36:58PM -0400, Ryan Stone wrote: R> - The if_addr_lock would appear to be an excellent candidate to be R> converted into an rmlock, but unfortunately we made the mistake of exposing R> the lock through the ifnet KPI. Fixing that would require rototilling R> every single

svn commit: r305028 - head/sys/dev/ioat

2016-08-29 Thread Conrad E. Meyer
Author: cem Date: Mon Aug 29 20:51:34 2016 New Revision: 305028 URL: https://svnweb.freebsd.org/changeset/base/305028 Log: ioat(4): Add additional CTR tracing during reset Modified: head/sys/dev/ioat/ioat.c Modified: head/sys/dev/ioat/ioat.c

svn commit: r305027 - head/sys/dev/ioat

2016-08-29 Thread Conrad E. Meyer
Author: cem Date: Mon Aug 29 20:46:33 2016 New Revision: 305027 URL: https://svnweb.freebsd.org/changeset/base/305027 Log: ioat(4): Don't "complete" DMA descriptors prematurely In r304602, I mistakenly removed the ioat_process_events check that we weren't processing events before the

svn commit: r305026 - head/sys/boot/efi/libefi

2016-08-29 Thread Jared McNeill
Author: jmcneill Date: Mon Aug 29 20:01:53 2016 New Revision: 305026 URL: https://svnweb.freebsd.org/changeset/base/305026 Log: When the EFI implementation (like U-Boot) does not support WaitForKey, we can emulate efi_cons_poll(0 with a flag and caching the last key read with ReadKeyStroke.

Re: svn commit: r304928 - in head/lib/libc: amd64/sys i386/sys sys

2016-08-29 Thread John Baldwin
On Monday, August 29, 2016 10:10:35 PM Konstantin Belousov wrote: > On Mon, Aug 29, 2016 at 09:16:29PM +0300, Andrey Chernov wrote: > > Previous text is documented everywhere and describing usual good > > practice, so it should remains in place, in that means r304928 should be > > reverted,

svn commit: r305024 - head/lib/libc/sys

2016-08-29 Thread Konstantin Belousov
Author: kib Date: Mon Aug 29 19:53:13 2016 New Revision: 305024 URL: https://svnweb.freebsd.org/changeset/base/305024 Log: Typesetting fixes. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/lib/libc/sys/ptrace.2 Modified: head/lib/libc/sys/ptrace.2

svn commit: r305023 - head/usr.sbin/bluetooth/btpand

2016-08-29 Thread Dimitry Andric
Author: dim Date: Mon Aug 29 19:40:46 2016 New Revision: 305023 URL: https://svnweb.freebsd.org/changeset/base/305023 Log: Avoid undefined behavior when calling va_start() in bnep_send_control(), by making the 'type' parameter a plain unsigned. MFC after:3 days Modified:

svn commit: r305022 - head/lib/libc/sys

2016-08-29 Thread Konstantin Belousov
Author: kib Date: Mon Aug 29 19:33:07 2016 New Revision: 305022 URL: https://svnweb.freebsd.org/changeset/base/305022 Log: Restore the requirement of setting errno to zero before calling ptrace(2). Describe the behaviour of automatically zeroing errno as historical feature. Requested

Re: svn commit: r304928 - in head/lib/libc: amd64/sys i386/sys sys

2016-08-29 Thread Andrey Chernov
On 29.08.2016 22:10, Konstantin Belousov wrote: > On Mon, Aug 29, 2016 at 09:16:29PM +0300, Andrey Chernov wrote: >> Previous text is documented everywhere and describing usual good >> practice, so it should remains in place, in that means r304928 should be >> reverted, because replace proper way

Re: svn commit: r304928 - in head/lib/libc: amd64/sys i386/sys sys

2016-08-29 Thread Benjamin Kaduk
On Mon, Aug 29, 2016 at 2:10 PM, Konstantin Belousov wrote: > On Mon, Aug 29, 2016 at 09:16:29PM +0300, Andrey Chernov wrote: > > Previous text is documented everywhere and describing usual good > > practice, so it should remains in place, in that means r304928 should be > >

Re: svn commit: r304928 - in head/lib/libc: amd64/sys i386/sys sys

2016-08-29 Thread Konstantin Belousov
On Mon, Aug 29, 2016 at 09:16:29PM +0300, Andrey Chernov wrote: > Previous text is documented everywhere and describing usual good > practice, so it should remains in place, in that means r304928 should be > reverted, because replace proper way of doing things with obsoleted > feature description.

svn commit: r305020 - head/cddl/usr.sbin/zfsd/tests

2016-08-29 Thread Ngie Cooper
Author: ngie Date: Mon Aug 29 19:10:58 2016 New Revision: 305020 URL: https://svnweb.freebsd.org/changeset/base/305020 Log: Remove redundant declarations and simplify ../ in pathing - TESTSBASE and LOCALBASE are already defined in bsd.tests.mk - TESTSDIR is automatically divined as

svn commit: r305019 - head/cddl/usr.sbin/zfsd

2016-08-29 Thread Ngie Cooper
Author: ngie Date: Mon Aug 29 19:07:48 2016 New Revision: 305019 URL: https://svnweb.freebsd.org/changeset/base/305019 Log: Remove unnecessary variable (SRCDIR) replaced by SRCTOP in Makefile.common MFC after:1 week X-MFC with: r305018 Sponsored by: EMC / Isilon Storage Division

svn commit: r305018 - head/cddl/usr.sbin/zfsd

2016-08-29 Thread Ngie Cooper
Author: ngie Date: Mon Aug 29 19:06:40 2016 New Revision: 305018 URL: https://svnweb.freebsd.org/changeset/base/305018 Log: Use SRCTOP instead of a homegrown definition for it (SRCDIR) MFC after:1 week Sponsored by: EMC / Isilon Storage Division Modified:

Re: svn commit: r305016 - head/cddl/usr.sbin/zfsd/tests

2016-08-29 Thread Ngie Cooper (yaneurabeya)
> On Aug 29, 2016, at 11:55, Dimitry Andric wrote: > > Author: dim > Date: Mon Aug 29 18:55:06 2016 > New Revision: 305016 > URL: https://svnweb.freebsd.org/changeset/base/305016 > > Log: > Fix the zfsd unittest: > * TESTSDIR is supposed to be under cddl/usr.sbin, not

svn commit: r305016 - head/cddl/usr.sbin/zfsd/tests

2016-08-29 Thread Dimitry Andric
Author: dim Date: Mon Aug 29 18:55:06 2016 New Revision: 305016 URL: https://svnweb.freebsd.org/changeset/base/305016 Log: Fix the zfsd unittest: * TESTSDIR is supposed to be under cddl/usr.sbin, not cddl/sbin * DevdCtl::EventBuffer no longer exists, so remove its forward declaration

svn commit: r305015 - head/lib/libc/aarch64/sys

2016-08-29 Thread Konstantin Belousov
Author: kib Date: Mon Aug 29 18:53:51 2016 New Revision: 305015 URL: https://svnweb.freebsd.org/changeset/base/305015 Log: Remove commented out mention of ptrace.S. After r305012 the asm wrapper is not needed. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

svn commit: r305012 - in head/lib/libc: amd64/sys arm/sys i386/sys include mips/sys powerpc/sys powerpc64/sys sparc64/sys sys

2016-08-29 Thread Konstantin Belousov
Author: kib Date: Mon Aug 29 18:47:51 2016 New Revision: 305012 URL: https://svnweb.freebsd.org/changeset/base/305012 Log: Rewrite ptrace(2) wrappers in C. Besides removing hand-translation to assembler, this also adds missing wrappers for arm64 and risc-v. Reviewed by: emaste, jhb

svn commit: r305011 - head/usr.sbin/newsyslog/tests

2016-08-29 Thread Ngie Cooper
Author: ngie Date: Mon Aug 29 18:46:04 2016 New Revision: 305011 URL: https://svnweb.freebsd.org/changeset/base/305011 Log: Expect sub testcases 2-4 in :tests_time_rotate to fail today due to changes to newsyslog, etc made in the past month. The issue is being root-caused as part of the

Re: svn commit: r304928 - in head/lib/libc: amd64/sys i386/sys sys

2016-08-29 Thread Andrey Chernov
On 29.08.2016 21:16, Andrey Chernov wrote: > On 29.08.2016 21:04, Konstantin Belousov wrote: >> On Mon, Aug 29, 2016 at 08:46:47PM +0300, Andrey Chernov wrote: >>> Either we implement this wrapper or left all things as is, we need to >>> document internal errno clearing additionally, to not make

svn commit: r305010 - head/sys/dev/syscons

2016-08-29 Thread Bruce Evans
Author: bde Date: Mon Aug 29 18:41:06 2016 New Revision: 305010 URL: https://svnweb.freebsd.org/changeset/base/305010 Log: Add screen locking calls to sc cn grab and ungrab. The locking functions just use the same mutex locking as sc cn putc so they have the same defects. The locking

svn commit: r305009 - head/share/mk

2016-08-29 Thread Bryan Drewery
Author: bdrewery Date: Mon Aug 29 18:31:34 2016 New Revision: 305009 URL: https://svnweb.freebsd.org/changeset/base/305009 Log: Allow parallelizing clean/cleandepend/depend with all. This now makes 'make -jX clean all install' safe. MFC after:3 days Sponsored by: EMC / Isilon

Re: svn commit: r304928 - in head/lib/libc: amd64/sys i386/sys sys

2016-08-29 Thread Andrey Chernov
On 29.08.2016 21:04, Konstantin Belousov wrote: > On Mon, Aug 29, 2016 at 08:46:47PM +0300, Andrey Chernov wrote: >> Either we implement this wrapper or left all things as is, we need to >> document internal errno clearing additionally, to not make people wonder >> why errno becomes 0, probably

Re: svn commit: r305004 - in head/sys: amd64/amd64 amd64/include i386/i386

2016-08-29 Thread Slawa Olhovchenkov
On Tue, Aug 30, 2016 at 03:58:54AM +1000, Bruce Evans wrote: > On Mon, 29 Aug 2016, Slawa Olhovchenkov wrote: > > > On Mon, Aug 29, 2016 at 01:07:21PM +, Bruce Evans wrote: > >> ... > >> Log: > >> On amd64, declare sse2_pagezero() and start using it again, but only > >> for zeroing pages

Re: svn commit: r304928 - in head/lib/libc: amd64/sys i386/sys sys

2016-08-29 Thread Konstantin Belousov
On Mon, Aug 29, 2016 at 09:51:50AM -0700, John Baldwin wrote: > On Monday, August 29, 2016 09:58:13 AM Konstantin Belousov wrote: > > I dug into the ptrace(2) consumers, I found a lot of things using > > it which I would not expect to use, besides usual suspects of gdb > > lldb libunwind reptyr

Re: svn commit: r305004 - in head/sys: amd64/amd64 amd64/include i386/i386

2016-08-29 Thread Bruce Evans
On Mon, 29 Aug 2016, Slawa Olhovchenkov wrote: On Mon, Aug 29, 2016 at 01:07:21PM +, Bruce Evans wrote: ... Log: On amd64, declare sse2_pagezero() and start using it again, but only for zeroing pages in idle where nontemporal writes are clearly best. This is almost a no-op since

svn commit: r305007 - head/contrib/netbsd-tests/usr.bin/dirname

2016-08-29 Thread Ngie Cooper
Author: ngie Date: Mon Aug 29 17:50:36 2016 New Revision: 305007 URL: https://svnweb.freebsd.org/changeset/base/305007 Log: Expect :basic to fail due to recent output changes in dirname(3) The dirname output change bug is actively being worked on, and this commit will need to be reverted

Re: svn commit: r304928 - in head/lib/libc: amd64/sys i386/sys sys

2016-08-29 Thread Andrey Chernov
On 29.08.2016 19:51, John Baldwin wrote: >> int >> ptrace(int request, pid_t pid, caddr_t addr, int data) >> { >> >> errno = 0; >> return (__sys_ptrace(request, pid, addr, data)); >> } > > Certainly I think having a C wrapper like this makes more sense than > doing it all in assembly N

Re: svn commit: r305004 - in head/sys: amd64/amd64 amd64/include i386/i386

2016-08-29 Thread Slawa Olhovchenkov
On Mon, Aug 29, 2016 at 01:07:21PM +, Bruce Evans wrote: > Author: bde > Date: Mon Aug 29 13:07:21 2016 > New Revision: 305004 > URL: https://svnweb.freebsd.org/changeset/base/305004 > > Log: > On amd64, declare sse2_pagezero() and start using it again, but only > for zeroing pages in

Re: svn commit: r304928 - in head/lib/libc: amd64/sys i386/sys sys

2016-08-29 Thread John Baldwin
On Monday, August 29, 2016 09:58:13 AM Konstantin Belousov wrote: > On Sun, Aug 28, 2016 at 04:09:51PM -0700, John Baldwin wrote: > > OTOH, given that we explicitly documented it as not being true, I suspect > > any applications that are using ptrace() are going off the documentation, > > not > >

svn commit: r305006 - head/release/doc/en_US.ISO8859-1/relnotes

2016-08-29 Thread Steven Kreuzer
Author: skreuzer (doc,ports committer) Date: Mon Aug 29 17:23:04 2016 New Revision: 305006 URL: https://svnweb.freebsd.org/changeset/base/305006 Log: Null out the release notes for 12-CURRENT Approved by: gjb Differential Revision:D7669 Modified:

Re: svn commit: r304928 - in head/lib/libc: amd64/sys i386/sys sys

2016-08-29 Thread Andrey Chernov
On 29.08.2016 18:34, Konstantin Belousov wrote: > On Mon, Aug 29, 2016 at 06:05:50PM +0300, Andrey Chernov wrote: >> No surprise since they all share the same initial implementation. You >> can add NetBSD and OpenBSD too. Errno clearing as undocumented side >> effect is not what we need, and every

Re: svn commit: r304928 - in head/lib/libc: amd64/sys i386/sys sys

2016-08-29 Thread Konstantin Belousov
On Mon, Aug 29, 2016 at 06:05:50PM +0300, Andrey Chernov wrote: > No surprise since they all share the same initial implementation. You > can add NetBSD and OpenBSD too. Errno clearing as undocumented side > effect is not what we need, and every system documents that user must > clear errno. Of

Re: svn commit: r304928 - in head/lib/libc: amd64/sys i386/sys sys

2016-08-29 Thread Andrey Chernov
On 29.08.2016 10:07, Konstantin Belousov wrote: > On Mon, Aug 29, 2016 at 09:58:13AM +0300, Konstantin Belousov wrote: >> On Sun, Aug 28, 2016 at 04:09:51PM -0700, John Baldwin wrote: >>> OTOH, given that we explicitly documented it as not being true, I suspect >>> any applications that are using

svn commit: r305005 - in head/sys: amd64/amd64 i386/i386

2016-08-29 Thread Bruce Evans
Author: bde Date: Mon Aug 29 14:38:31 2016 New Revision: 305005 URL: https://svnweb.freebsd.org/changeset/base/305005 Log: Shorten banal comments about zeroing and copying pages. Don't give implementation details that last echoed the code 15-20 years ago. But add a detail about pagezero()

svn commit: r305004 - in head/sys: amd64/amd64 amd64/include i386/i386

2016-08-29 Thread Bruce Evans
Author: bde Date: Mon Aug 29 13:07:21 2016 New Revision: 305004 URL: https://svnweb.freebsd.org/changeset/base/305004 Log: On amd64, declare sse2_pagezero() and start using it again, but only for zeroing pages in idle where nontemporal writes are clearly best. This is almost a no-op since

Re: svn commit: r304860 - in head: include lib/libc/gen

2016-08-29 Thread Craig Rodrigues
On Mon, Aug 29, 2016 at 12:08 AM, Ngie Cooper (yaneurabeya) < yaneurab...@gmail.com> wrote: > > > I already filed a bug for this: https://bugs.freebsd.org > /bugzilla/show_bug.cgi?id=212193 . I’m going to mark this as a failure > soon to mute the noise. > Thanks, > -Ngie > Thanks. That will be

svn commit: r304991 - in head/sys/modules: cloudabi32 cloudabi64

2016-08-29 Thread Ed Schouten
Author: ed Date: Mon Aug 29 07:48:35 2016 New Revision: 304991 URL: https://svnweb.freebsd.org/changeset/base/304991 Log: Use both the MACHINE and MACHINE_CPUARCH directories for finding sources. When fixing this module to build on PC98, I actually broke the build on ARM64. On PC98 we

Re: svn commit: r304860 - in head: include lib/libc/gen

2016-08-29 Thread Ngie Cooper (yaneurabeya)
> On Aug 29, 2016, at 12:06 AM, Craig Rodrigues wrote: > > [Resending from right e-mail address] > > On Fri, Aug 26, 2016 at 1:23 PM, Ed Schouten > wrote: > Author: ed > Date: Fri Aug 26 20:23:10 2016 > New Revision: 304860 >

Re: svn commit: r304928 - in head/lib/libc: amd64/sys i386/sys sys

2016-08-29 Thread Konstantin Belousov
On Mon, Aug 29, 2016 at 09:58:13AM +0300, Konstantin Belousov wrote: > On Sun, Aug 28, 2016 at 04:09:51PM -0700, John Baldwin wrote: > > OTOH, given that we explicitly documented it as not being true, I suspect > > any applications that are using ptrace() are going off the documentation, > > not

Re: svn commit: r304860 - in head: include lib/libc/gen

2016-08-29 Thread Craig Rodrigues
[Resending from right e-mail address] On Fri, Aug 26, 2016 at 1:23 PM, Ed Schouten wrote: > Author: ed > Date: Fri Aug 26 20:23:10 2016 > New Revision: 304860 > URL: https://svnweb.freebsd.org/changeset/base/304860 > > Log: > Improve compatibility of calls to dirname() on

Re: svn commit: r304860 - in head: include lib/libc/gen

2016-08-29 Thread Craig Rodrigues
On Fri, Aug 26, 2016 at 1:23 PM, Ed Schouten wrote: > Author: ed > Date: Fri Aug 26 20:23:10 2016 > New Revision: 304860 > URL: https://svnweb.freebsd.org/changeset/base/304860 > > Log: > Improve compatibility of calls to dirname() on constant strings. > Ed, I think one of

Re: svn commit: r304928 - in head/lib/libc: amd64/sys i386/sys sys

2016-08-29 Thread Konstantin Belousov
On Sun, Aug 28, 2016 at 04:09:51PM -0700, John Baldwin wrote: > OTOH, given that we explicitly documented it as not being true, I suspect > any applications that are using ptrace() are going off the documentation, not > the implementation artifact. Note that Linux's ptrace() documents the same >

svn commit: r304989 - in head/contrib/libarchive: libarchive tar

2016-08-29 Thread Martin Matuska
Author: mm Date: Mon Aug 29 06:54:38 2016 New Revision: 304989 URL: https://svnweb.freebsd.org/changeset/base/304989 Log: Redo MFV r304866: Sync libarchive with vendor including security fixes Vendor issues fixed: Issue #731: Reject tar entries >= INT64_MAX Issue #744 (part of Issue

svn commit: r304988 - in head/contrib/libarchive: libarchive tar

2016-08-29 Thread Martin Matuska
Author: mm Date: Mon Aug 29 06:50:45 2016 New Revision: 304988 URL: https://svnweb.freebsd.org/changeset/base/304988 Log: Revert r304869 This commit was incorrect and will be re-committed asap. Modified: head/contrib/libarchive/libarchive/archive_acl.c

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

2016-08-29 Thread Bruce Evans
Author: bde Date: Mon Aug 29 06:07:43 2016 New Revision: 304986 URL: https://svnweb.freebsd.org/changeset/base/304986 Log: Restore the nontemporal pagezero() under the name sse2_pagezero() (the same name as for i386). It is not reconnected yet. Which method is better is too