svn commit: r297223 - head/sys/kern

2016-03-23 Thread Bryan Drewery
Author: bdrewery Date: Thu Mar 24 04:40:07 2016 New Revision: 297223 URL: https://svnweb.freebsd.org/changeset/base/297223 Log: Pass the expected struct radix_node_head * to vfs_free_netcred. No functional change. struct radix_node_head's first element is rh so this was already

svn commit: r297222 - head/sys/kern

2016-03-23 Thread Bryan Drewery
Author: bdrewery Date: Thu Mar 24 03:08:39 2016 New Revision: 297222 URL: https://svnweb.freebsd.org/changeset/base/297222 Log: Fix M_RTABLE memory leak from r274118 (11/2014). Replace free(M_RTABLE) with rn_detachhead() to match rn_inithead(). This would trigger when reloading NFS

svn commit: r297221 - head/sys/dev/hyperv/vmbus

2016-03-23 Thread Sepherosa Ziehau
Author: sephe Date: Thu Mar 24 02:15:23 2016 New Revision: 297221 URL: https://svnweb.freebsd.org/changeset/base/297221 Log: hyperv/vmbus: Create per-cpu fast taskqueue for msg handling Using one taskqueue does not work, since the EOM MSR must be written on the msg's owner CPU.

svn commit: r297220 - head/sys/dev/hyperv/utilities

2016-03-23 Thread Sepherosa Ziehau
Author: sephe Date: Thu Mar 24 01:12:28 2016 New Revision: 297220 URL: https://svnweb.freebsd.org/changeset/base/297220 Log: hyperv/utils: Allow hint to disable individual utility Reviewed by: kib, Dexuan Cui MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

svn commit: r297219 - head/sys/dev/hyperv/vmbus

2016-03-23 Thread Sepherosa Ziehau
Author: sephe Date: Thu Mar 24 00:40:41 2016 New Revision: 297219 URL: https://svnweb.freebsd.org/changeset/base/297219 Log: hyperv/vmbus: use a better retry method in hv_vmbus_post_message() Most often, hv_vmbus_post_message() doesn't fail. However, it fails intermittently when GPADLs

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

2016-03-23 Thread Bruce Evans
On Wed, 23 Mar 2016, John Baldwin wrote: On Wednesday, March 23, 2016 09:58:42 AM Konstantin Belousov wrote: On Mon, Mar 21, 2016 at 11:12:57AM -0700, John Baldwin wrote: On Saturday, March 19, 2016 05:22:16 AM Konstantin Belousov wrote: On Fri, Mar 18, 2016 at 07:48:49PM +, John Baldwin

svn commit: r297218 - in head/sys: amd64/amd64 i386/i386 x86/x86

2016-03-23 Thread John Baldwin
Author: jhb Date: Thu Mar 24 00:24:07 2016 New Revision: 297218 URL: https://svnweb.freebsd.org/changeset/base/297218 Log: Enable interrupts on the BSP once all PICs are initialized. This moves the enabling of interrupts slightly earlier (the old location was still before devices were

Re: svn commit: r297201 - in head: share/man/man4 sys/dev/filemon

2016-03-23 Thread Bruce Evans
On Wed, 23 Mar 2016, Rick Macklem wrote: Benjamin Kaduk wrote: On Tue, Mar 22, 2016 at 9:11 PM, Bryan Drewery wrote: The manpage for close(2) does document some errors, one being ENOSPC. The close(2) behavior of returning write(2), really VOP_WRITE(9), errors though

Re: svn commit: r297201 - in head: share/man/man4 sys/dev/filemon

2016-03-23 Thread Rick Macklem
Benjamin Kaduk wrote: > On Tue, Mar 22, 2016 at 9:11 PM, Bryan Drewery wrote: > > > > > > > > > The manpage for close(2) does document some errors, one being ENOSPC. The > > close(2) behavior of returning write(2), really VOP_WRITE(9), errors though > > is specific to

svn commit: r297217 - head/usr.sbin/bluetooth/bthidd

2016-03-23 Thread Maksim Yevmenkin
Author: emax Date: Wed Mar 23 22:07:13 2016 New Revision: 297217 URL: https://svnweb.freebsd.org/changeset/base/297217 Log: fix incorrect usage of hid_set_data() which causes crash in bthidd(8) on amd64 WITH_SSP builds Submitted by: rakuco Reviewed by: rakuco Tested by:rakuco

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

2016-03-23 Thread John Baldwin
On Wednesday, March 23, 2016 09:58:42 AM Konstantin Belousov wrote: > On Mon, Mar 21, 2016 at 11:12:57AM -0700, John Baldwin wrote: > > On Saturday, March 19, 2016 05:22:16 AM Konstantin Belousov wrote: > > > On Fri, Mar 18, 2016 at 07:48:49PM +, John Baldwin wrote: > > > > > > > > -

Re: svn commit: r296921 - head/share/mk

2016-03-23 Thread Bryan Drewery
On 3/22/2016 9:00 AM, Bryan Drewery wrote: > On 3/22/16 8:44 AM, Nikolai Lifanov wrote: >> On 03/22/16 11:26, Bryan Drewery wrote: >>> On 3/22/16 4:39 AM, Jean-Sébastien Pédron wrote: Hi! I can't install world with a read-only /usr/obj anymore:

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

2016-03-23 Thread Jared McNeill
Author: jmcneill Date: Wed Mar 23 19:26:53 2016 New Revision: 297215 URL: https://svnweb.freebsd.org/changeset/base/297215 Log: Fix support for fixed factor clocks. - Use a different device description for fixed and fixed factor clocks. - Fix a bug where the "clock-div" property was

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

2016-03-23 Thread Jared McNeill
Author: jmcneill Date: Wed Mar 23 19:24:09 2016 New Revision: 297214 URL: https://svnweb.freebsd.org/changeset/base/297214 Log: clk_parse_ofw_out_names is supposed to return a list of indices when the clock-indices property is present, so change the "uint32_t *indices" parameter to

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

2016-03-23 Thread Jared McNeill
Author: jmcneill Date: Wed Mar 23 19:21:21 2016 New Revision: 297213 URL: https://svnweb.freebsd.org/changeset/base/297213 Log: Return BUS_PROBE_GENERIC instead of 0 from ofw_clkbus_probe, giving platform specific drivers a chance to override the generic driver. Reviewed by:

svn commit: r297212 - head/include

2016-03-23 Thread Dimitry Andric
Author: dim Date: Wed Mar 23 19:17:12 2016 New Revision: 297212 URL: https://svnweb.freebsd.org/changeset/base/297212 Log: For C++, expose long long types and functions (lldiv_t, llabs, lldiv, etc) in stdlib.h. These will be needed for newer versions of libc++, which uses them for defining

Re: svn commit: r297190 - head/sys/kern

2016-03-23 Thread Edward Tomasz Napierala
On 0323T1412, Jean-Sébastien Pédron wrote: > On 22/03/2016 16:55, Ian Lepore wrote: > > On Tue, 2016-03-22 at 13:46 +, Edward Tomasz Napierala wrote: > >> Author: trasz > >> Date: Tue Mar 22 13:46:01 2016 > >> New Revision: 297190 > >> URL: https://svnweb.freebsd.org/changeset/base/297190 > >>

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

2016-03-23 Thread Konstantin Belousov
On Wed, Mar 23, 2016 at 09:58:42AM +0200, Konstantin Belousov wrote: > If TSC has the behaviour you described, i.e. suddenly jumping random > steps on single CPU, from the point of view of kernel, then the system > is seriosly misbehaving. The timekeeping stuff would be badly broken > regardless

svn commit: r297210 - head/sbin/casperd

2016-03-23 Thread Bryan Drewery
Author: bdrewery Date: Wed Mar 23 16:37:08 2016 New Revision: 297210 URL: https://svnweb.freebsd.org/changeset/base/297210 Log: Remove disconnected casperd, missed in r296047. Reported by: bz Deleted: head/sbin/casperd/ ___

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

2016-03-23 Thread Wojciech Macek
Author: wma Date: Wed Mar 23 13:29:52 2016 New Revision: 297209 URL: https://svnweb.freebsd.org/changeset/base/297209 Log: ARM64 copyinout improvements The first of set of patches. Use wider load/stores when aligned buffer is being copied. In a simple test: dd if=/dev/zero

svn commit: r297208 - head/sys/netinet

2016-03-23 Thread Michael Tuexen
Author: tuexen Date: Wed Mar 23 13:28:04 2016 New Revision: 297208 URL: https://svnweb.freebsd.org/changeset/base/297208 Log: Add const to several constants. Thanks to Nicholas Nethercote for providing the patch via https://bugzilla.mozilla.org/show_bug.cgi?id=1255655 MFC after:1

Re: svn commit: r297190 - head/sys/kern

2016-03-23 Thread Jean-Sébastien Pédron
On 22/03/2016 16:55, Ian Lepore wrote: > On Tue, 2016-03-22 at 13:46 +, Edward Tomasz Napierala wrote: >> Author: trasz >> Date: Tue Mar 22 13:46:01 2016 >> New Revision: 297190 >> URL: https://svnweb.freebsd.org/changeset/base/297190 >> >> Log: >> Wait for root mount tokens before showing

Re: svn commit: r297190 - head/sys/kern

2016-03-23 Thread Edward Tomasz Napierala
On 0322T2113, Rick Macklem wrote: > Ian Lepore wrote: > > On Tue, 2016-03-22 at 13:46 +, Edward Tomasz Napierala wrote: > > > Author: trasz > > > Date: Tue Mar 22 13:46:01 2016 > > > New Revision: 297190 > > > URL: https://svnweb.freebsd.org/changeset/base/297190 > > > > > > Log: > > > Wait

svn commit: r297207 - in head: etc/autofs usr.bin/showmount

2016-03-23 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Mar 23 12:13:53 2016 New Revision: 297207 URL: https://svnweb.freebsd.org/changeset/base/297207 Log: Make the autofs(5) -hosts map more robust, primarily to make it correctly handle NFS shares containing whitespace. This also adds the -E parameter to showmount(8).

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

2016-03-23 Thread Konstantin Belousov
Author: kib Date: Wed Mar 23 09:58:51 2016 New Revision: 297206 URL: https://svnweb.freebsd.org/changeset/base/297206 Log: Fix locking mistake in softdep_waitidle(). The surrounding code expects that the loop is always exited with the SU lock owned, even on error. Reported and tested

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

2016-03-23 Thread Konstantin Belousov
On Mon, Mar 21, 2016 at 11:12:57AM -0700, John Baldwin wrote: > On Saturday, March 19, 2016 05:22:16 AM Konstantin Belousov wrote: > > On Fri, Mar 18, 2016 at 07:48:49PM +, John Baldwin wrote: > > > > > > - for (x = 0; x < delay; x += 5) { > > > + for (x = 0; x < delay; x++) { > > >

Re: svn commit: r297201 - in head: share/man/man4 sys/dev/filemon

2016-03-23 Thread Julian Elischer
On 23/03/2016 12:59 PM, Bryan Drewery wrote: (close man page stuff deleted) As Benjamin referenced, most people never fathom that it can even fail. Bryan from the human/mammal operator manuals.. die(animal) [...] Errors: EMEDICAL - The creature failed to die, the operation will be