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

2015-06-29 Thread Konstantin Belousov
Author: kib Date: Mon Jun 29 09:58:40 2015 New Revision: 284922 URL: https://svnweb.freebsd.org/changeset/base/284922 Log: Add a comment about too strong semantic of atomic_load_acq() on x86. Submitted by: bde MFC after:2 weeks Modified: head/sys/amd64/include/atomic.h

svn commit: r284925 - in head/sys/i386: i386 include

2015-06-29 Thread Konstantin Belousov
Author: kib Date: Mon Jun 29 10:35:00 2015 New Revision: 284925 URL: https://svnweb.freebsd.org/changeset/base/284925 Log: Move CS_SECURE() and EFL_SECURE() macros to the machine/frame.h. They are useful for most implementations of sendsig(). Sponsored by: The FreeBSD Foundation MFC

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

2015-06-29 Thread Konstantin Belousov
Author: kib Date: Mon Jun 29 13:06:24 2015 New Revision: 284927 URL: https://svnweb.freebsd.org/changeset/base/284927 Log: Simplify code, no need to test the flag before clearing it. Submitted by: ed MFC after:12 days Modified: head/sys/ufs/ffs/ffs_vfsops.c Modified:

svn commit: r284928 - head/usr.bin/ar

2015-06-29 Thread Ed Maste
Author: emaste Date: Mon Jun 29 13:48:44 2015 New Revision: 284928 URL: https://svnweb.freebsd.org/changeset/base/284928 Log: speed up ar(1) on UFS file systems Fault in the buffer prior to writing to workaround poor performance due to interaction with kernel fs deadlock avoidance code.

Re: svn commit: r284927 - head/sys/ufs/ffs

2015-06-29 Thread Ed Schouten
2015-06-29 15:06 GMT+02:00 Konstantin Belousov k...@freebsd.org: Simplify code, no need to test the flag before clearing it. Thanks! :-) -- Ed Schouten e...@nuxi.nl Nuxi, 's-Hertogenbosch, the Netherlands KvK/VAT number: 62051717 ___

Re: svn commit: r284887 - in head/sys: kern sys ufs/ffs

2015-06-29 Thread Ed Schouten
Hi Kostik, 2015-06-27 11:44 GMT+02:00 Konstantin Belousov k...@freebsd.org: @@ -2056,6 +2072,8 @@ ffs_bufwrite(struct buf *bp) if (bp-b_vflags BV_BKGRDINPROG) panic(bufwrite: still writing); } + if ((bp-b_vflags BV_BKGRDERR) != 0) +

svn commit: r284923 - head/sys/arm64/arm64

2015-06-29 Thread Konstantin Belousov
Author: kib Date: Mon Jun 29 10:31:12 2015 New Revision: 284923 URL: https://svnweb.freebsd.org/changeset/base/284923 Log: Remove sv_sigtbl handling from the arm64 sendsig(). There is no ABI emulators on arm64. Reviewed by: andrew Review: https://reviews.freebsd.org/D2889

svn commit: r284924 - head/sys/compat/svr4

2015-06-29 Thread Konstantin Belousov
Author: kib Date: Mon Jun 29 10:33:04 2015 New Revision: 284924 URL: https://svnweb.freebsd.org/changeset/base/284924 Log: svr4 emulator has custom sendsig() implementation, it does not use sv_sigtbl. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

svn commit: r284926 - in head/sys/i386: i386 include isa

2015-06-29 Thread Konstantin Belousov
Author: kib Date: Mon Jun 29 12:06:36 2015 New Revision: 284926 URL: https://svnweb.freebsd.org/changeset/base/284926 Log: Provide npx_get_fsave(9) and npx_set_fsave(9) functions to obtain and restore the FPU state from the format of machine FSAVE area. The intended use is for ABI

svn commit: r284929 - head/share/examples/csh

2015-06-29 Thread Christian Brueffer
Author: brueffer Date: Mon Jun 29 14:41:19 2015 New Revision: 284929 URL: https://svnweb.freebsd.org/changeset/base/284929 Log: Fix issues that kept some of the examples from actually working. PR: 144534 Submitted by: Nicolas Edel MFC after:1 week Modified:

Re: svn commit: r284929 - head/share/examples/csh

2015-06-29 Thread Christian Brueffer
This should have been PR 191759. Chris On 2015-06-29 16:41, Christian Brueffer wrote: Author: brueffer Date: Mon Jun 29 14:41:19 2015 New Revision: 284929 URL: https://svnweb.freebsd.org/changeset/base/284929 Log: Fix issues that kept some of the examples from actually working. PR:

svn commit: r284930 - head/etc

2015-06-29 Thread Christian Brueffer
Author: brueffer Date: Mon Jun 29 15:38:34 2015 New Revision: 284930 URL: https://svnweb.freebsd.org/changeset/base/284930 Log: Add CouchDB ports (5984 TCP/UDP). PR: 193268 Submitted by: y...@rawbw.com MFC after:1 week Modified: head/etc/services Modified:

svn commit: r284931 - head/sys/x86/isa

2015-06-29 Thread Christian Brueffer
Author: brueffer Date: Mon Jun 29 17:02:09 2015 New Revision: 284931 URL: https://svnweb.freebsd.org/changeset/base/284931 Log: Set the initial system time to a sane (as in: not end of 21st century) value when booting on a PC with CMOS clock set to a year before 2000. This uses 1980

Re: svn commit: r284928 - head/usr.bin/ar

2015-06-29 Thread Adrian Chadd
Is this potentially an issue for other applications? Why is it such a big issue for ar? -a On 29 June 2015 at 06:48, Ed Maste ema...@freebsd.org wrote: Author: emaste Date: Mon Jun 29 13:48:44 2015 New Revision: 284928 URL: https://svnweb.freebsd.org/changeset/base/284928 Log: speed

svn commit: r284932 - in stable/9: contrib/gcclibs/libgomp contrib/gcclibs/libgomp/config/bsd contrib/gcclibs/libgomp/config/linux contrib/gcclibs/libgomp/config/mingw32 contrib/gcclibs/libgomp/con...

2015-06-29 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jun 29 17:58:45 2015 New Revision: 284932 URL: https://svnweb.freebsd.org/changeset/base/284932 Log: MFC r282115, r282152, r282201 MFV r282150 libgomp: Update to version 4.3.5. bring initial BSD support from upstream. This was not meant to be MFC'd at first

svn commit: r284933 - head/share/man/man4

2015-06-29 Thread Sean Bruno
Author: sbruno Date: Mon Jun 29 17:59:00 2015 New Revision: 284933 URL: https://svnweb.freebsd.org/changeset/base/284933 Log: Delete the refernce to VLAN handling being disabled by default. This is no longer the case. PR: 118693 MFC after:3 days Modified:

svn commit: r284938 - stable/10/usr.sbin/freebsd-update

2015-06-29 Thread Xin LI
Author: delphij Date: Mon Jun 29 18:56:53 2015 New Revision: 284938 URL: https://svnweb.freebsd.org/changeset/base/284938 Log: MFC r274630,r274653 (feld): Add logic for detecting non-persistent filesystems being utilized by workdir which would break the upgrade process upon reboot.

svn commit: r284939 - stable/10/usr.sbin/freebsd-update

2015-06-29 Thread Xin LI
Author: delphij Date: Mon Jun 29 19:02:30 2015 New Revision: 284939 URL: https://svnweb.freebsd.org/changeset/base/284939 Log: MFC r256594 (cperciva): Speed up `freebsd-update IDS` by using IFS to split fields instead of forking lots of processes to run echo|cut. In one test this

svn commit: r284940 - stable/10/usr.sbin/freebsd-update

2015-06-29 Thread Xin LI
Author: delphij Date: Mon Jun 29 19:09:16 2015 New Revision: 284940 URL: https://svnweb.freebsd.org/changeset/base/284940 Log: MFC r279901 (kmoore): - Include commas in valid file-name chars freebsd-update will support Modified: stable/10/usr.sbin/freebsd-update/freebsd-update.sh

svn commit: r284936 - stable/10/usr.sbin/freebsd-update

2015-06-29 Thread Xin LI
Author: delphij Date: Mon Jun 29 18:44:15 2015 New Revision: 284936 URL: https://svnweb.freebsd.org/changeset/base/284936 Log: MFC r284425: Skip src component if /usr/src is empty. Submitted by: kczekirda Reviewed by: cperciva, delphij, nwhitehorn, allanjude

svn commit: r284934 - stable/9/lib/libmagic

2015-06-29 Thread Xin LI
Author: delphij Date: Mon Jun 29 18:11:10 2015 New Revision: 284934 URL: https://svnweb.freebsd.org/changeset/base/284934 Log: Provide a temporary bandaid for libmagic by lowering WARNS to 1. The defined but unused warnings are legimite but not really fatal. Reported by: kib Modified:

svn commit: r284935 - stable/10/sys/dev/hptnr

2015-06-29 Thread Xin LI
Author: delphij Date: Mon Jun 29 18:34:30 2015 New Revision: 284935 URL: https://svnweb.freebsd.org/changeset/base/284935 Log: MFC r284792: Merge changes from vendor driver 1.1.4: v1.1.4 2015-06-09 * Fix a bug that FailLED was not initialized properly. v1.1.3 2015-05-19

svn commit: r284937 - stable/10/usr.sbin/freebsd-update

2015-06-29 Thread Xin LI
Author: delphij Date: Mon Jun 29 18:51:08 2015 New Revision: 284937 URL: https://svnweb.freebsd.org/changeset/base/284937 Log: MFC r276095 (des) Use RCS tag instead of $FreeBSD$ tag, since svn will obediently expand the latter. Modified:

svn commit: r284941 - head/sys/netinet

2015-06-29 Thread Hiren Panchasara
Author: hiren Date: Mon Jun 29 21:23:54 2015 New Revision: 284941 URL: https://svnweb.freebsd.org/changeset/base/284941 Log: Avoid a situation where we do not set persist timer after a zero window condition. If you send a 0-length packet, but there is data is the socket buffer, and

svn commit: r284942 - in head/release: . scripts

2015-06-29 Thread Brad Davis
Author: brd (doc,ports committer) Date: Mon Jun 29 21:26:41 2015 New Revision: 284942 URL: https://svnweb.freebsd.org/changeset/base/284942 Log: Add Support for uploading Vagrant images to Hashicorp Atlas. Approved by: re (gjb) Added: head/release/scripts/atlas-upload.sh (contents,

svn commit: r284918 - in head/sys/i386: i386 include

2015-06-29 Thread Konstantin Belousov
Author: kib Date: Mon Jun 29 06:59:08 2015 New Revision: 284918 URL: https://svnweb.freebsd.org/changeset/base/284918 Log: Reduce code duplication. Add helper fill_based_sd(9) which creates a based user data descriptor covering whole VA. Sponsored by: The FreeBSD Foundation MFC after:

svn commit: r284921 - in head/sys/amd64: amd64 include linux32

2015-06-29 Thread Konstantin Belousov
Author: kib Date: Mon Jun 29 07:53:44 2015 New Revision: 284921 URL: https://svnweb.freebsd.org/changeset/base/284921 Log: pcb_gs32sd is unused for long time, remove it. Keep the padding in pcb. Sponsored by: The FreeBSD Foundation MFC after:2 weeks Modified:

Re: svn commit: r284893 - in head/release: . tools

2015-06-29 Thread Christian Brueffer
On 2015-06-27 22:39, Brad Davis wrote: Author: brd (doc,ports committer) Date: Sat Jun 27 20:39:13 2015 New Revision: 284893 URL: https://svnweb.freebsd.org/changeset/base/284893 Log: Add initial support for building Vagrant images for VMWare. Next steps will be adding Virtualbox support

svn commit: r284920 - head/etc

2015-06-29 Thread Julian Elischer
Author: julian Date: Mon Jun 29 07:43:09 2015 New Revision: 284920 URL: https://svnweb.freebsd.org/changeset/base/284920 Log: Slight tidy up of comments before MFC MFC after:2 days Modified: head/etc/rc.firewall Modified: head/etc/rc.firewall

svn commit: r284919 - in head/sys: amd64/amd64 i386/i386 x86/include

2015-06-29 Thread Konstantin Belousov
Author: kib Date: Mon Jun 29 07:07:24 2015 New Revision: 284919 URL: https://svnweb.freebsd.org/changeset/base/284919 Log: Add x86 PT_GETFSBASE, PT_GETGSBASE machine-depended ptrace requests to obtain the thread %fs and %gs bases. Add x86 PT_SETFSBASE and PT_SETGSBASE requests to set the

Re: svn commit: r284912 - head/usr.bin/units

2015-06-29 Thread Julio Merino
On Jun 28, 2015, at 15:05 , Garrett Cooper yaneurab...@gmail.com wrote: On Jun 28, 2015, at 09:43, Julio Merino j...@freebsd.org wrote: Author: jmmv Date: Sun Jun 28 16:43:07 2015 New Revision: 284912 URL: https://svnweb.freebsd.org/changeset/base/284912 Log: Only initialize

Re: svn commit: r284942 - in head/release: . scripts

2015-06-29 Thread Philip M. Gollucci
On Mon, Jun 29, 2015 at 5:26 PM, Brad Davis b...@freebsd.org wrote: + env ASSUME_ALWAYS_YES=yes pkg install -y curl why do we have both the env and the -y switch? -- - Curb: Your ride is here

Re: svn commit: r284942 - in head/release: . scripts

2015-06-29 Thread Glen Barber
On Mon, Jun 29, 2015 at 09:09:13PM -0400, Philip M. Gollucci wrote: On Mon, Jun 29, 2015 at 5:26 PM, Brad Davis b...@freebsd.org wrote: + env ASSUME_ALWAYS_YES=yes pkg install -y curl why do we have both the env and the -y switch? Because if pkg is not bootstrapped (pkg(7)

Re: svn commit: r284887 - in head/sys: kern sys ufs/ffs

2015-06-29 Thread Julian Elischer
On 6/29/15 8:19 PM, Ed Schouten wrote: Hi Kostik, 2015-06-27 11:44 GMT+02:00 Konstantin Belousov k...@freebsd.org: @@ -2056,6 +2072,8 @@ ffs_bufwrite(struct buf *bp) if (bp-b_vflags BV_BKGRDINPROG) panic(bufwrite: still writing); } + if

Re: svn commit: r284942 - in head/release: . scripts

2015-06-29 Thread Glen Barber
On Tue, Jun 30, 2015 at 01:11:46AM +, Glen Barber wrote: On Mon, Jun 29, 2015 at 09:09:13PM -0400, Philip M. Gollucci wrote: On Mon, Jun 29, 2015 at 5:26 PM, Brad Davis b...@freebsd.org wrote: + env ASSUME_ALWAYS_YES=yes pkg install -y curl why do we have both the env

svn commit: r284943 - in stable/10/release: . tools

2015-06-29 Thread Glen Barber
Author: gjb Date: Tue Jun 30 00:51:43 2015 New Revision: 284943 URL: https://svnweb.freebsd.org/changeset/base/284943 Log: MFC r284882, r284884: r284882: Add initial support for automatically uploading GCE virtual machine images to the Google Compute Engine platform. Remove

svn commit: r284944 - stable/10/sys/kern

2015-06-29 Thread Konstantin Belousov
Author: kib Date: Tue Jun 30 05:53:15 2015 New Revision: 284944 URL: https://svnweb.freebsd.org/changeset/base/284944 Log: MFC r284719: Only take previous buffer queue lock (olock) when needed for REMFREE in binsfree(). Modified: stable/10/sys/kern/vfs_bio.c Directory Properties:

Re: svn commit: r284887 - in head/sys: kern sys ufs/ffs

2015-06-29 Thread Konstantin Belousov
On Tue, Jun 30, 2015 at 11:19:30AM +0800, Julian Elischer wrote: On 6/29/15 8:19 PM, Ed Schouten wrote: Hi Kostik, 2015-06-27 11:44 GMT+02:00 Konstantin Belousov k...@freebsd.org: @@ -2056,6 +2072,8 @@ ffs_bufwrite(struct buf *bp) if (bp-b_vflags BV_BKGRDINPROG)

Re: svn commit: r284928 - head/usr.bin/ar

2015-06-29 Thread Ed Maste
On 29 June 2015 at 06:48, Ed Maste ema...@freebsd.org wrote: Author: emaste Date: Mon Jun 29 13:48:44 2015 New Revision: 284928 URL: https://svnweb.freebsd.org/changeset/base/284928 Log: speed up ar(1) on UFS file systems Is this potentially an issue for other applications? Why is it