svn commit: r297308 - head/sys/ufs/ufs

2016-03-27 Thread Konstantin Belousov
Author: kib Date: Sun Mar 27 08:07:12 2016 New Revision: 297308 URL: https://svnweb.freebsd.org/changeset/base/297308 Log: Style: wrap long lines. Sponsored by: The FreeBSD Foundation MFC after:2 weeks Modified: head/sys/ufs/ufs/ufsmount.h Modified: head/sys/ufs/ufs/ufsmount.h ===

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

2016-03-27 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 27 08:10:20 2016 New Revision: 297309 URL: https://svnweb.freebsd.org/changeset/base/297309 Log: Whitespaces and style(9) fix. No functional changes. MFC after:1 week Modified: head/sys/compat/linux/linux_socket.c Modified: head/sys/compat/linux/linux_s

svn commit: r297310 - in head/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2016-03-27 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 27 08:12:01 2016 New Revision: 297310 URL: https://svnweb.freebsd.org/changeset/base/297310 Log: iConvert Linux SOL_IPV6 level. MFC after:1 week Modified: head/sys/amd64/linux/linux.h head/sys/amd64/linux32/linux.h head/sys/compat/linux/linux_socket.

svn commit: r297311 - in head/sys/ufs: ffs ufs

2016-03-27 Thread Konstantin Belousov
Author: kib Date: Sun Mar 27 08:21:17 2016 New Revision: 297311 URL: https://svnweb.freebsd.org/changeset/base/297311 Log: Split the global taskqueue used to process all UFS trim completions, into per-mount taskqueue with the private taskqueue processing thread. This allows to drain the task

svn commit: r297312 - head/sys/netinet

2016-03-27 Thread Michael Tuexen
Author: tuexen Date: Sun Mar 27 10:04:25 2016 New Revision: 297312 URL: https://svnweb.freebsd.org/changeset/base/297312 Log: Improve compilation on windows 64-bit (for the userland stack). MFC after:1 week Modified: head/sys/netinet/sctp_constants.h head/sys/netinet/sctp_indata.c

svn commit: r297313 - in head/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2016-03-27 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 27 10:09:10 2016 New Revision: 297313 URL: https://svnweb.freebsd.org/changeset/base/297313 Log: Revert r297310 as the SOL_XXX are equal to the IPPROTO_XX except SOL_SOCKET. Pointed out by: ae@ Modified: head/sys/amd64/linux/linux.h head/sys/amd64/li

Re: svn commit: r297039 - head/sys/x86/x86

2016-03-27 Thread Konstantin Belousov
On Sun, Mar 27, 2016 at 06:49:40AM +1100, Bruce Evans wrote: > On Sat, 26 Mar 2016, Konstantin Belousov wrote: > > > On Sat, Mar 26, 2016 at 03:17:43AM +1100, Bruce Evans wrote: > >> This uses the i8254. > > Well, this is the part which I do not like most. It is ridiculous > > to calibrate relati

Re: svn commit: r297039 - head/sys/x86/x86

2016-03-27 Thread Poul-Henning Kamp
In message <20160327130706.ga1...@kib.kiev.ua>, Konstantin Belousov writes: >> I haven't seen a single (hardware) system since I started measuring >> this 15-20 yeas ago on which the i8524 is not fed from the same clock >> as the TSC. A very important and relevant detail here is that the

Re: svn commit: r296637 - in head: contrib/bmake contrib/bmake/mk contrib/bmake/unit-tests share/mk usr.bin/bmake

2016-03-27 Thread Jilles Tjoelker
On Sun, Mar 13, 2016 at 04:29:10PM -0700, Simon J. Gerraty wrote: > Bryan Drewery wrote: > > This code is only in head. My problem is now bmake can only build > > commits after this one which breaks bisecting and older project branches > > which haven't or can't merge in head yet. > > Is the :@ i

svn commit: r297314 - head/etc/rc.d

2016-03-27 Thread Jilles Tjoelker
Author: jilles Date: Sun Mar 27 16:27:49 2016 New Revision: 297314 URL: https://svnweb.freebsd.org/changeset/base/297314 Log: rc.d: Make msgs a proper rc.d script. PR: 207149 Reported by: Jonathan de Boyne Pollard Modified: head/etc/rc.d/msgs Modified: head/etc/rc.d/msgs ==

svn commit: r297315 - head/etc/rc.d

2016-03-27 Thread Kristof Provost
Author: kp Date: Sun Mar 27 17:22:27 2016 New Revision: 297315 URL: https://svnweb.freebsd.org/changeset/base/297315 Log: pf: Friendly error message for status if pf.ko is not loaded Check if pf.ko is loaded (i.e. /dev/pf exists) before trying to use it. This means that '/etc/rc.d/pf stat

Re: svn commit: r297039 - head/sys/x86/x86

2016-03-27 Thread Bruce Evans
On Sun, 27 Mar 2016, Konstantin Belousov wrote: On Sun, Mar 27, 2016 at 06:49:40AM +1100, Bruce Evans wrote: On Sat, 26 Mar 2016, Konstantin Belousov wrote: On Sat, Mar 26, 2016 at 03:17:43AM +1100, Bruce Evans wrote: This uses the i8254. Well, this is the part which I do not like most. It

Re: svn commit: r297039 - head/sys/x86/x86

2016-03-27 Thread Konstantin Belousov
On Mon, Mar 28, 2016 at 04:22:59AM +1100, Bruce Evans wrote: > On Sun, 27 Mar 2016, Konstantin Belousov wrote: > > We could even trust CPU report about its frequency as the last resort. > > From what I saw, the calibrated RTC frequency is very close to the Err, that should have been TSC, and not RT

Re: svn commit: r297039 - head/sys/x86/x86

2016-03-27 Thread Bruce Evans
On Sun, 27 Mar 2016, Poul-Henning Kamp wrote: In message <20160327130706.ga1...@kib.kiev.ua>, Konstantin Belousov writes: I haven't seen a single (hardware) system since I started measuring this 15-20 yeas ago on which the i8524 is not fed from the same clock as the TSC. A very impo

Re: svn commit: r297039 - head/sys/x86/x86

2016-03-27 Thread Poul-Henning Kamp
In message <20160328033624.n...@besplex.bde.org>, Bruce Evans writes: >Of course the details are machine-dependent. My oldest system on which I >discovered PLL-like behaviour was from late 1997. The PLL might not have >been in standard bus chips then. It had a K5 (?) running at 233 MHz

Re: svn commit: r297315 - head/etc/rc.d

2016-03-27 Thread Ngie Cooper (yaneurabeya)
> On Mar 27, 2016, at 10:22, Kristof Provost wrote: > > Author: kp > Date: Sun Mar 27 17:22:27 2016 > New Revision: 297315 > URL: https://svnweb.freebsd.org/changeset/base/297315 … > Modified: head/etc/rc.d/pf > == > -

svn commit: r297321 - head/usr.bin/netstat

2016-03-27 Thread Pedro F. Giffuni
Author: pfg Date: Sun Mar 27 20:02:21 2016 New Revision: 297321 URL: https://svnweb.freebsd.org/changeset/base/297321 Log: netstat: avoid returning uninitialized value in p_sockaddr(). In the case the width is less than 0, we are returning an uninitialized value. For practical purposes th

Re: svn commit: r297315 - head/etc/rc.d

2016-03-27 Thread Ian Lepore
On Sun, 2016-03-27 at 12:46 -0700, Ngie Cooper (yaneurabeya) wrote: > > On Mar 27, 2016, at 10:22, Kristof Provost wrote: > > > > Author: kp > > Date: Sun Mar 27 17:22:27 2016 > > New Revision: 297315 > > URL: https://svnweb.freebsd.org/changeset/base/297315 > > … > > > Modified: head/etc/rc.d/

svn commit: r297322 - head/contrib/libc++/include

2016-03-27 Thread Dimitry Andric
Author: dim Date: Sun Mar 27 21:20:43 2016 New Revision: 297322 URL: https://svnweb.freebsd.org/changeset/base/297322 Log: Pull in r255683 from upstream libc++ trunk (by Eric Fiselier): [libcxx] Enable noexcept for GCC 4.6 and greater Summary: This patch allows GCC 4.6 and abov

svn commit: r297323 - head/sys/nfs

2016-03-27 Thread Ian Lepore
Author: ian Date: Sun Mar 27 22:21:34 2016 New Revision: 297323 URL: https://svnweb.freebsd.org/changeset/base/297323 Log: Set ifctx->gotrootpath=1 only when the root path came from the dhcp/bootp server (and not when it came from a fallback method such as the ROOTDEVNAME option). This make

svn commit: r297324 - head/sys/nfs

2016-03-27 Thread Ian Lepore
Author: ian Date: Sun Mar 27 22:36:32 2016 New Revision: 297324 URL: https://svnweb.freebsd.org/changeset/base/297324 Log: Switch bootpc_adjust_interface() from returning int to void. Its one caller doesn't check for errors, and all the errors that can happen result in it calling panic anyw

svn commit: r297325 - head/sys/nfs

2016-03-27 Thread Ian Lepore
Author: ian Date: Sun Mar 27 22:58:56 2016 New Revision: 297325 URL: https://svnweb.freebsd.org/changeset/base/297325 Log: Stop setting the default route to the IP of the interface itself when the bootp/dhcp server doesn't provide a router option. Doing so prevents setting defaultrouter= in

svn commit: r297326 - head/sys/nfs

2016-03-27 Thread Ian Lepore
Author: ian Date: Sun Mar 27 23:16:37 2016 New Revision: 297326 URL: https://svnweb.freebsd.org/changeset/base/297326 Log: Do not try to install a default route for each interface found, because only the first one will actually work and all the others just result in errors (which would get p

svn commit: r297328 - head/sys/dev/extres/clk

2016-03-27 Thread Alexander Kabaev
Author: kan Date: Sun Mar 27 23:19:20 2016 New Revision: 297328 URL: https://svnweb.freebsd.org/changeset/base/297328 Log: Do nothing if requested clk frequency is already correct. Reviewed by: mmel Modified: head/sys/dev/extres/clk/clk.c Modified: head/sys/dev/extres/clk/clk.c

svn commit: r297329 - head/sys/dev/mmc

2016-03-27 Thread Alexander Kabaev
Author: kan Date: Sun Mar 27 23:19:21 2016 New Revision: 297329 URL: https://svnweb.freebsd.org/changeset/base/297329 Log: Use correct response bits for MMC_RSP_R4-R7 types Modified: head/sys/dev/mmc/mmcreg.h Modified: head/sys/dev/mmc/mmcreg.h ===

svn commit: r297327 - head/libexec/dma

2016-03-27 Thread Alexander Kabaev
Author: kan Date: Sun Mar 27 23:19:14 2016 New Revision: 297327 URL: https://svnweb.freebsd.org/changeset/base/297327 Log: Do not override top level CFLAGS in libexec/dma Modified: head/libexec/dma/Makefile.inc Modified: head/libexec/dma/Makefile.inc =

svn commit: r297330 - head/usr.sbin/pw

2016-03-27 Thread Warren Block
Author: wblock (doc committer) Date: Mon Mar 28 02:05:35 2016 New Revision: 297330 URL: https://svnweb.freebsd.org/changeset/base/297330 Log: Adjust misleading wording of the -G option and simplify a few surrounding sentences. From a discussion on -ports. Reviewed by: David Wolfskill

svn commit: r297331 - head/sbin/devd

2016-03-27 Thread Warner Losh
Author: imp Date: Mon Mar 28 04:22:22 2016 New Revision: 297331 URL: https://svnweb.freebsd.org/changeset/base/297331 Log: Sometimes, it's useful to export the entire line to an external program without listening to the devd socket for all events. Define two new pseudo variables $*, the enti