svn commit: r254673 - head/share/man/man9

2013-08-22 Thread Konstantin Belousov
Author: kib Date: Thu Aug 22 22:01:56 2013 New Revision: 254673 URL: http://svnweb.freebsd.org/changeset/base/254673 Log: Update the manual page for vm_page_grab(9). Reviewed and edited by: alc Sponsored by: The FreeBSD Foundation Modified: head/share/man/man9/vm_page_grab.9 Mod

svn commit: r254672 - in head/sys: netinet sys

2013-08-22 Thread Michael Tuexen
Author: tuexen Date: Thu Aug 22 20:29:57 2013 New Revision: 254672 URL: http://svnweb.freebsd.org/changeset/base/254672 Log: Export the inpcb features as a 64-bit entity. Bump __FreeBSD_version to 148 since the modified structure is user visible and used by netstat, for example. Modif

svn commit: r254671 - in head/sys/i386: i386 xen

2013-08-22 Thread Justin T. Gibbs
Author: gibbs Date: Thu Aug 22 20:07:06 2013 New Revision: 254671 URL: http://svnweb.freebsd.org/changeset/base/254671 Log: Rename definition of HYPERVISOR_VIRT_START to avoid conflict with upstream Xen definition found in xen/interface/arch-x86/xen-x86_32.h. Submitted by: Roger Pau Monné

svn commit: r254670 - head/sys/netinet

2013-08-22 Thread Michael Tuexen
Author: tuexen Date: Thu Aug 22 19:28:13 2013 New Revision: 254670 URL: http://svnweb.freebsd.org/changeset/base/254670 Log: Make also the features of the association 64-bit. When exporting to xinpcb, just export the lower 32-bit. Using there also 64-bits will break the ABI and will be com

svn commit: r254669 - stable/9/usr.bin/yacc

2013-08-22 Thread Glen Barber
Author: gjb Date: Thu Aug 22 18:41:28 2013 New Revision: 254669 URL: http://svnweb.freebsd.org/changeset/base/254669 Log: Revert r254626 to fix the build. Modified: stable/9/usr.bin/yacc/skeleton.c Modified: stable/9/usr.bin/yacc/skeleton.c ===

Re: svn commit: r254626 - stable/9/usr.bin/yacc

2013-08-22 Thread Mike Tancsa
On 8/22/2013 7:56 AM, Dag-Erling Smørgrav wrote: > > So what do you suggest? Revert David's change, or keep it (minus > extern) and remove the prototype from expr.y? > > I favor the latter option, since yyparse() is auto-generated and expr.y > can therefore (strictly speaking) not know what the

svn commit: r254668 - in head/sys: kern sys

2013-08-22 Thread Konstantin Belousov
Author: kib Date: Thu Aug 22 18:26:45 2013 New Revision: 254668 URL: http://svnweb.freebsd.org/changeset/base/254668 Log: Both cluster_rbuild() and cluster_wbuild() sometimes set the pages shared busy without first draining the hard busy state. Previously it went unnoticed since VPO_BUSY an

svn commit: r254667 - in head/sys: amd64/amd64 arm/arm i386/i386 i386/xen ia64/ia64 mips/mips powerpc/aim powerpc/booke sparc64/sparc64 vm

2013-08-22 Thread Konstantin Belousov
Author: kib Date: Thu Aug 22 18:12:24 2013 New Revision: 254667 URL: http://svnweb.freebsd.org/changeset/base/254667 Log: Revert r254501. Instead, reuse the type stability of the struct pmap which is the part of struct vmspace, allocated from UMA_ZONE_NOFREE zone. Initialize the pmap lock

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

2013-08-22 Thread Konstantin Belousov
Author: kib Date: Thu Aug 22 18:05:31 2013 New Revision: 254666 URL: http://svnweb.freebsd.org/changeset/base/254666 Log: Use the generation count of the pv list to work around LOR between pmap lock and pv list lock, and use the shared locking on pvh_global_lock in pmap_remove_write(), same

svn commit: r254664 - in stable/9/sys: compat/freebsd32 kern sys

2013-08-22 Thread Konstantin Belousov
Author: kib Date: Thu Aug 22 17:30:01 2013 New Revision: 254664 URL: http://svnweb.freebsd.org/changeset/base/254664 Log: MFC r253494: id_t is 64bit, provide the compat32 wrapper for clock_getcpuclockid2(2). Reminded by: Petr Salinger Modified: stable/9/sys/compat/freebsd32/freebsd32

svn commit: r254665 - stable/9/sys/compat/freebsd32

2013-08-22 Thread Konstantin Belousov
Author: kib Date: Thu Aug 22 17:33:50 2013 New Revision: 254665 URL: http://svnweb.freebsd.org/changeset/base/254665 Log: Regenerate. Modified: stable/9/sys/compat/freebsd32/freebsd32_proto.h stable/9/sys/compat/freebsd32/freebsd32_syscall.h stable/9/sys/compat/freebsd32/freebsd32_syscall

svn commit: r254663 - head/sys/pc98/pc98

2013-08-22 Thread Jung-uk Kim
Author: jkim Date: Thu Aug 22 16:39:59 2013 New Revision: 254663 URL: http://svnweb.freebsd.org/changeset/base/254663 Log: MFi386: r254619 Reimplement atomic_load_acq_64() and atomic_store_rel_64() for i386. Noticed by: tinderbox Modified: head/sys/pc98/pc98/machdep.

svn commit: r254662 - vendor/NetBSD/libexecinfo/20130822

2013-08-22 Thread Ed Maste
Author: emaste Date: Thu Aug 22 16:34:03 2013 New Revision: 254662 URL: http://svnweb.freebsd.org/changeset/base/254662 Log: Tag libexecinfo 2013-08-22 Added: vendor/NetBSD/libexecinfo/20130822/ - copied from r254661, vendor/NetBSD/libexecinfo/dist

svn commit: r254661 - in vendor/NetBSD/libexecinfo: . dist

2013-08-22 Thread Ed Maste
Author: emaste Date: Thu Aug 22 16:31:19 2013 New Revision: 254661 URL: http://svnweb.freebsd.org/changeset/base/254661 Log: Vendor import of NetBSD's libexecinfo at 2013-08-22 Added: vendor/NetBSD/libexecinfo/ vendor/NetBSD/libexecinfo/dist/ vendor/NetBSD/libexecinfo/dist/backtrace.3 v

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

2013-08-22 Thread Joel Dahl
Author: joel (doc committer) Date: Thu Aug 22 16:02:20 2013 New Revision: 254660 URL: http://svnweb.freebsd.org/changeset/base/254660 Log: Remove EOL whitespace. Modified: head/lib/libc/sys/chflags.2 Modified: head/lib/libc/sys/chflags.2 ==

svn commit: r254659 - head/usr.bin/dtc

2013-08-22 Thread Joel Dahl
Author: joel (doc committer) Date: Thu Aug 22 16:01:20 2013 New Revision: 254659 URL: http://svnweb.freebsd.org/changeset/base/254659 Log: Remove EOL whitespace. Modified: head/usr.bin/dtc/dtc.1 Modified: head/usr.bin/dtc/dtc.1

svn commit: r254658 - head/share/man/man9

2013-08-22 Thread Joel Dahl
Author: joel (doc committer) Date: Thu Aug 22 16:00:09 2013 New Revision: 254658 URL: http://svnweb.freebsd.org/changeset/base/254658 Log: Minor mdoc nit. Modified: head/share/man/man9/atomic.9 Modified: head/share/man/man9/atomic.9 ===

Re: svn commit: r253924 - in head: etc etc/rc.d share/man/man5

2013-08-22 Thread Alan Somers
With this revision, I am unable to down an ipv4 interface using "/etc/rc.d/netif stop em1". When I try, ipv4_down cannot find the address to delete, because "$_inet" begins with a tab character and the therefore it matches the "*)" rule in the case statement. Presumably "$_inet" doesn't always be

Re: svn commit: r254273 - in head: . include lib lib/libc/iconv lib/libiconv_compat lib/libkiconv share/mk sys/sys tools/build/mk

2013-08-22 Thread Joel Dahl
On Sun, Aug 18, 2013 at 03:51:25PM -0700, Peter Wemm wrote: > On 8/18/13 3:42 PM, Jilles Tjoelker wrote: > > On Sun, Aug 18, 2013 at 09:53:04PM +0200, Joel Dahl wrote: > >> On Sun, Aug 18, 2013 at 12:34:30AM +0200, Dimitry Andric wrote: > >>> On Aug 13, 2013, at 09:15, Peter Wemm wrote: > Aut

Re: svn commit: r254615 - head/sys/dev/mps

2013-08-22 Thread Dmitry Morozovsky
On Thu, 22 Aug 2013, Kenneth D. Merry wrote: > > > Fix mps(4) driver breakage that came in in change 253550 that > > > manifested itself in out of chain frame conditions. > > > > > > When the driver ran out of chain frames, the request in question > > > would get completed early, and go

Re: svn commit: r254615 - head/sys/dev/mps

2013-08-22 Thread Kenneth D. Merry
On Thu, Aug 22, 2013 at 16:42:41 +0400, Dmitry Morozovsky wrote: > Ken, > > On Wed, 21 Aug 2013, Kenneth D. Merry wrote: > > > Author: ken > > Date: Wed Aug 21 21:30:56 2013 > > New Revision: 254615 > > URL: http://svnweb.freebsd.org/changeset/base/254615 > > > > Log: > > Fix mps(4) driver bre

svn commit: r254657 - in head: sbin/iscontrol sys/conf sys/dev/iscsi/initiator sys/dev/iscsi_initiator sys/modules sys/modules/iscsi/initiator sys/modules/iscsi_initiator

2013-08-22 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Aug 22 14:02:34 2013 New Revision: 254657 URL: http://svnweb.freebsd.org/changeset/base/254657 Log: Move the old iSCSI initiator source to a more appropriate place (sys/dev/iscsi_initiator/ instead of sys/dev/iscsi/initiator/), to make room for the new one. This is a

svn commit: r254654 - head/share/mk

2013-08-22 Thread Andrey V. Elsukov
Author: ae Date: Thu Aug 22 12:49:28 2013 New Revision: 254654 URL: http://svnweb.freebsd.org/changeset/base/254654 Log: Really disconnect pkg_install from the build. Reported by: Mikhail Timofeyev Modified: head/share/mk/bsd.own.mk Modified: head/share/mk/bsd.own.mk ==

Re: svn commit: r254626 - stable/9/usr.bin/yacc

2013-08-22 Thread Bruce Evans
On Thu, 22 Aug 2013, [utf-8] Dag-Erling Sm??rgrav wrote: Bruce Evans writes: Dag-Erling Sm??rgrav writes: Oh, it's actually our own fault for including -Wredundant-decls in CFLAGS. Is there a good reason to keep it? How else would you detect bogus declarations of library functions? Almost

Re: svn commit: r254615 - head/sys/dev/mps

2013-08-22 Thread Dmitry Morozovsky
Ken, On Wed, 21 Aug 2013, Kenneth D. Merry wrote: > Author: ken > Date: Wed Aug 21 21:30:56 2013 > New Revision: 254615 > URL: http://svnweb.freebsd.org/changeset/base/254615 > > Log: > Fix mps(4) driver breakage that came in in change 253550 that > manifested itself in out of chain frame co

Re: svn commit: r254626 - stable/9/usr.bin/yacc

2013-08-22 Thread Dag-Erling Smørgrav
Bruce Evans writes: > Dag-Erling Smørgrav writes: > > Oh, it's actually our own fault for including -Wredundant-decls in > > CFLAGS. Is there a good reason to keep it? > How else would you detect bogus declarations of library functions? Almost > all -W flags are for detecting bugs that are most

Re: svn commit: r254626 - stable/9/usr.bin/yacc

2013-08-22 Thread Bruce Evans
On Thu, 22 Aug 2013, [utf-8] Dag-Erling Sm??rgrav wrote: Dag-Erling Sm??rgrav writes: This breaks the build in usr.bin/expr because expr.y already provides a prototype, and gcc does not accept multiple prototypes, even if they're identical. That is arguably a bug in gcc, ISTR that it took s

Re: svn commit: r254600 - head/lib/libutil

2013-08-22 Thread Bruce Evans
On Wed, 21 Aug 2013, Jilles Tjoelker wrote: On Thu, Aug 22, 2013 at 01:24:13AM +0400, Sergey Kandaurov wrote: On Wed, Aug 21, 2013 at 10:27:25PM +0200, Jilles Tjoelker wrote: On Wed, Aug 21, 2013 at 11:03:10PM +0400, Sergey Kandaurov wrote: On Wed, Aug 21, 2013 at 09:21:47PM +0400, Andrey Che

Re: svn commit: r254600 - head/lib/libutil

2013-08-22 Thread Andrey Chernov
On 22.08.2013 14:01, Andrey Chernov wrote: > On 22.08.2013 1:37, Jilles Tjoelker wrote: >>> if (number == UINTMAX_MAX && errno == ERANGE) { >>> return (-1); >>> } >>> >>> + if (errno == 0) >>> + errno = saved_errno; >>> + >> This looks good to m

Re: svn commit: r254600 - head/lib/libutil

2013-08-22 Thread Andrey Chernov
On 22.08.2013 1:37, Jilles Tjoelker wrote: >> if (number == UINTMAX_MAX && errno == ERANGE) { >> return (-1); >> } >> >> + if (errno == 0) >> + errno = saved_errno; >> + > This looks good to me. > Just being nitpicking) number == UINTMAX_MAX c

Re: svn commit: r254626 - stable/9/usr.bin/yacc

2013-08-22 Thread Dag-Erling Smørgrav
Dag-Erling Smørgrav writes: > This breaks the build in usr.bin/expr because expr.y already provides a > prototype, and gcc does not accept multiple prototypes, even if they're > identical. That is arguably a bug in gcc, Oh, it's actually our own fault for including -Wredundant-decls in CFLAGS.

Re: svn commit: r254626 - stable/9/usr.bin/yacc

2013-08-22 Thread Dag-Erling Smørgrav
"David E. O'Brien" writes: > Log: > Provide a prototype for yyparse() so that "-Werror" along with stringent > -W* warnings can be used on byacc's output. This breaks the build in usr.bin/expr because expr.y already provides a prototype, and gcc does not accept multiple prototypes, even if th

svn commit: r254650 - head/lib/libfetch

2013-08-22 Thread Dag-Erling Smørgrav
Author: des Date: Thu Aug 22 07:43:36 2013 New Revision: 254650 URL: http://svnweb.freebsd.org/changeset/base/254650 Log: Even though it doesn't really make sense in the context of a CONNECT request, RFC 2616 14.23 mandates the presence of the Host: header in all HTTP 1.1 requests. PR:

svn commit: r254649 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs dev/agp dev/drm2/i915 dev/drm2/ttm dev/md kern sparc64/sparc64 vm

2013-08-22 Thread Konstantin Belousov
Author: kib Date: Thu Aug 22 07:39:53 2013 New Revision: 254649 URL: http://svnweb.freebsd.org/changeset/base/254649 Log: Remove the deprecated VM_ALLOC_RETRY flag for the vm_page_grab(9). The flag was mandatory since r209792, where vm_page_grab(9) was changed to only support the alloc retry