Re: svn commit: r288431 - in head/sys: kern sys vm

2015-10-08 Thread John-Mark Gurney
Alan Cox wrote this message on Fri, Oct 02, 2015 at 18:50 -0500: > On Oct 2, 2015, at 10:59 AM, John Baldwin wrote: > > > I think it is not unreasonble to expect that fadvise() incurs system-wide > > affects. A properly implemented WILLNEED that does read-ahead cannot work > > without incurring

svn commit: r289059 - head/sys/vm

2015-10-08 Thread Alan Cox
Author: alc Date: Fri Oct 9 03:38:58 2015 New Revision: 289059 URL: https://svnweb.freebsd.org/changeset/base/289059 Log: Exploit r288122 to avoid pointlessly enqueueing a page that is about to be freed. Submitted by: kmacy Differential Revision:https://reviews.freebsd.org/D167

Re: svn commit: r289058 - head/sys/i386/linux

2015-10-08 Thread Mateusz Guzik
On Thu, Oct 08, 2015 at 11:27:45PM +, Conrad E. Meyer wrote: > Author: cem > Date: Thu Oct 8 23:27:45 2015 > New Revision: 289058 > URL: https://svnweb.freebsd.org/changeset/base/289058 > > Log: > Fix missing semi-colon from r289055. > > Obtained from: mjg > Sponsored by:

svn commit: r289058 - head/sys/i386/linux

2015-10-08 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 8 23:27:45 2015 New Revision: 289058 URL: https://svnweb.freebsd.org/changeset/base/289058 Log: Fix missing semi-colon from r289055. Obtained from:mjg Sponsored by: EMC / Isilon Storage Division Modified: head/sys/i386/linux/linux_sysvec.c Modified:

Re: svn commit: r289055 - in head/sys: amd64/linux i386/linux

2015-10-08 Thread NGie Cooper
On Thu, Oct 8, 2015 at 2:08 PM, Mateusz Guzik wrote: > Author: mjg > Date: Thu Oct 8 21:08:35 2015 > New Revision: 289055 > URL: https://svnweb.freebsd.org/changeset/base/289055 ... > Modified: head/sys/i386/linux/linux_sysvec.c >

svn commit: r289057 - head/sys/sys

2015-10-08 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Oct 8 21:52:20 2015 New Revision: 289057 URL: https://svnweb.freebsd.org/changeset/base/289057 Log: Remove comment obsoleted by r289056. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/sys/kernel.h Modified: head/sys/sys/kernel.h

svn commit: r289056 - head/sys/sys

2015-10-08 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Oct 8 21:28:06 2015 New Revision: 289056 URL: https://svnweb.freebsd.org/changeset/base/289056 Log: Remove unused SI_SUB_* #defines. Reviewed by: kib@ MFC after:1 month Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.fre

svn commit: r289055 - in head/sys: amd64/linux i386/linux

2015-10-08 Thread Mateusz Guzik
Author: mjg Date: Thu Oct 8 21:08:35 2015 New Revision: 289055 URL: https://svnweb.freebsd.org/changeset/base/289055 Log: linux: fix handling of out-of-bounds syscall attempts Due to an off by one the code would read an entry past the table, as opposed to the last entry which contains th

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

2015-10-08 Thread Bryan Drewery
On 10/8/2015 11:40 AM, Warner Losh wrote: > > We're including it there because Simon wanted it included there so > > meta-mode settings were visible in sys.mk > . I thought it > > lame at the > > time, but had no better solution. > > > > A

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

2015-10-08 Thread Warner Losh
On Thu, Oct 8, 2015 at 10:03 AM, Bryan Drewery wrote: > On 10/8/15 9:00 AM, Warner Losh wrote: > > > > On Wed, Oct 7, 2015 at 7:39 PM, Bryan Drewery > > wrote: > > > > On 10/6/2015 1:24 PM, Warner Losh wrote: > > >> With the META_MODE changes, sjg introduced

svn commit: r289044 - head/lib/libstand

2015-10-08 Thread Marcel Moolenaar
Author: marcel Date: Thu Oct 8 17:59:05 2015 New Revision: 289044 URL: https://svnweb.freebsd.org/changeset/base/289044 Log: If we can't open the file, skip devclose() for the exclusive_file_system case. We never called devopen(), so we know there's nothing to close. Modified: head/lib/lib

svn commit: r289041 - head/share/timedef

2015-10-08 Thread Xin LI
Author: delphij Date: Thu Oct 8 17:48:49 2015 New Revision: 289041 URL: https://svnweb.freebsd.org/changeset/base/289041 Log: Fix short month names and replace %b with %_m in date_fmt for Chinese locales. When using a Chinese locale, such as zh_TW.UTF-8 or zh_CN.UTF-8, nl_langinfo(ABMO

svn commit: r289039 - in head/sys: arm64/conf conf

2015-10-08 Thread Konstantin Belousov
Author: kib Date: Thu Oct 8 17:42:08 2015 New Revision: 289039 URL: https://svnweb.freebsd.org/changeset/base/289039 Log: Build changes that allow the modules on arm64. - Move the required kernel compiler flags from Makefile.arm64 to kern.mk. - Build arm64 modules as PIC; non-PIC relocation

svn commit: r289038 - head/share/timedef

2015-10-08 Thread Xin LI
Author: delphij Date: Thu Oct 8 17:41:17 2015 New Revision: 289038 URL: https://svnweb.freebsd.org/changeset/base/289038 Log: Add encoding for mime-types. MFC after:2 weeks Modified: Directory Properties: head/share/timedef/zh_CN.GB18030.src (props changed) head/share/timedef/zh

svn commit: r289033 - in head/sys: amd64/include/xen conf dev/xen/console i386/include/xen xen

2015-10-08 Thread Roger Pau Monné
Author: royger Date: Thu Oct 8 16:39:43 2015 New Revision: 289033 URL: https://svnweb.freebsd.org/changeset/base/289033 Log: xen/console: Introduce a new console driver for Xen guest The current Xen console driver is crashing very quickly when using it on an ARM guest. This is because th

svn commit: r289037 - head/sys/modules

2015-10-08 Thread Konstantin Belousov
Author: kib Date: Thu Oct 8 17:32:45 2015 New Revision: 289037 URL: https://svnweb.freebsd.org/changeset/base/289037 Log: Disable syscons and vpo modules for arm64. Reviewed by: andrew, emaste Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.o

svn commit: r289036 - head/sys/dev/sym

2015-10-08 Thread Konstantin Belousov
Author: kib Date: Thu Oct 8 17:32:17 2015 New Revision: 289036 URL: https://svnweb.freebsd.org/changeset/base/289036 Log: Add the arm64 define. Reviewed by: andrew, emaste Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D3796 Modified:

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

2015-10-08 Thread Konstantin Belousov
Author: kib Date: Thu Oct 8 16:58:01 2015 New Revision: 289035 URL: https://svnweb.freebsd.org/changeset/base/289035 Log: Implement in-kernel relocator for the arm64 module linker. It is decided to go with the shared object file format for modules on arm64, due to the Aarch64 instruction

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

2015-10-08 Thread Konstantin Belousov
Author: kib Date: Thu Oct 8 16:46:11 2015 New Revision: 289034 URL: https://svnweb.freebsd.org/changeset/base/289034 Log: Make the copyright notice in the file to match reality. Use the recommended FreeBSD license text. Approved by: andrew Discussed with: emaste Sponsored by:

Re: svn commit: r289027 - head/contrib/tzcode/stdtime

2015-10-08 Thread Bryan Drewery
On 10/8/15 5:51 AM, Andriy Gapon wrote: > On 08/10/2015 14:42, Craig Rodrigues wrote: >> Author: rodrigc >> Date: Thu Oct 8 11:42:15 2015 >> New Revision: 289027 >> URL: https://svnweb.freebsd.org/changeset/base/289027 >> >> Log: >> Merge: >> commit 400ecf36bb0b73f6390f9641e6cb8bbfb91a5cfd

Re: svn commit: r289027 - head/contrib/tzcode/stdtime

2015-10-08 Thread David Chisnall
On 8 Oct 2015, at 13:51, Andriy Gapon wrote: > > What if one day github disappears but FreeBSD is still going? > The full commit message would be lost. That’s not the only thing that is bad about this commit message. Why ‘Assume C89?’ We compile libc as C99 + GNU extensions and are likely to

Re: svn commit: r289027 - head/contrib/tzcode/stdtime

2015-10-08 Thread Conrad Meyer
On Thu, Oct 8, 2015 at 9:06 AM, Andriy Gapon wrote: > This commit seems to set a precedent of "merging" a github pull request into > the > tree. That's why I decided to comment. I did so as well in r288238, for example. :-) Upstreams (for tz or libcxxrt), hosted at Github or elsewhere, may dis

Re: svn commit: r289027 - head/contrib/tzcode/stdtime

2015-10-08 Thread Andriy Gapon
On 08/10/2015 18:26, Conrad Meyer wrote: > On Thu, Oct 8, 2015 at 5:51 AM, Andriy Gapon wrote: >> On 08/10/2015 14:42, Craig Rodrigues wrote: >>> Assume C89. >>> >>> >>> https://github.com/eggert/tz/commit/400ecf36bb0b73f6390f9641e6cb8bbfb91a5cfd >> >> What if one day github disappears but

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

2015-10-08 Thread Warner Losh
On Wed, Oct 7, 2015 at 7:39 PM, Bryan Drewery wrote: > On 10/6/2015 1:24 PM, Warner Losh wrote: > >> With the META_MODE changes, sjg introduced this /etc/src-env.conf file > >> that is included from sys.mk early, that can be used for overriding > >> things like MAKEOBJDIRPREFIX, enabling META_MOD

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

2015-10-08 Thread Bryan Drewery
On 10/8/15 9:00 AM, Warner Losh wrote: > > On Wed, Oct 7, 2015 at 7:39 PM, Bryan Drewery > wrote: > > On 10/6/2015 1:24 PM, Warner Losh wrote: > >> With the META_MODE changes, sjg introduced this /etc/src-env.conf file > >> that is included from sys.mk

svn commit: r289031 - head/sys/boot/i386/gptboot

2015-10-08 Thread Colin Percival
Author: cperciva Date: Thu Oct 8 15:38:34 2015 New Revision: 289031 URL: https://svnweb.freebsd.org/changeset/base/289031 Log: Change gptldr from relocating 0xfff1 bytes of boot2 to relocating 0x2 bytes of boot2. Since we're in 16-bit mode, we can't copy all 128kB at once; instead we l

Re: svn commit: r289027 - head/contrib/tzcode/stdtime

2015-10-08 Thread Benjamin Kaduk
On Thu, Oct 8, 2015 at 10:26 AM, Conrad Meyer wrote: > On Thu, Oct 8, 2015 at 5:51 AM, Andriy Gapon wrote: > > On 08/10/2015 14:42, Craig Rodrigues wrote: > >> Assume C89. > >> > >> > https://github.com/eggert/tz/commit/400ecf36bb0b73f6390f9641e6cb8bbfb91a5cfd > > > > What if one day github

Re: svn commit: r289027 - head/contrib/tzcode/stdtime

2015-10-08 Thread Conrad Meyer
On Thu, Oct 8, 2015 at 5:51 AM, Andriy Gapon wrote: > On 08/10/2015 14:42, Craig Rodrigues wrote: >> Assume C89. >> >> >> https://github.com/eggert/tz/commit/400ecf36bb0b73f6390f9641e6cb8bbfb91a5cfd > > What if one day github disappears but FreeBSD is still going? > The full commit message

svn commit: r289030 - head/sys/dev/usb/controller

2015-10-08 Thread Kevin Lo
Author: kevlo Date: Thu Oct 8 15:13:57 2015 New Revision: 289030 URL: https://svnweb.freebsd.org/changeset/base/289030 Log: Add support for Fresco Logic USB 3.0 host controller. Fresco Logic hosts advertise MSI, but fail to actually generate MSI interrupts. We have to disable MSI use.

svn commit: r289029 - head/sys/dev/usb/controller

2015-10-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 8 13:39:27 2015 New Revision: 289029 URL: https://svnweb.freebsd.org/changeset/base/289029 Log: Add quirk for USB 3.0 PCI device. Submitted by: Gary Jennejohn MFC after:1 week Modified: head/sys/dev/usb/controller/xhci_pci.c Modified: head/sys/dev/

Re: svn commit: r289027 - head/contrib/tzcode/stdtime

2015-10-08 Thread Baptiste Daroussin
On Thu, Oct 08, 2015 at 03:51:26PM +0300, Andriy Gapon wrote: > On 08/10/2015 14:42, Craig Rodrigues wrote: > > Author: rodrigc > > Date: Thu Oct 8 11:42:15 2015 > > New Revision: 289027 > > URL: https://svnweb.freebsd.org/changeset/base/289027 > > > > Log: > > Merge: > > commit 400ecf36bb

Re: svn commit: r289027 - head/contrib/tzcode/stdtime

2015-10-08 Thread Andriy Gapon
On 08/10/2015 14:42, Craig Rodrigues wrote: > Author: rodrigc > Date: Thu Oct 8 11:42:15 2015 > New Revision: 289027 > URL: https://svnweb.freebsd.org/changeset/base/289027 > > Log: > Merge: > commit 400ecf36bb0b73f6390f9641e6cb8bbfb91a5cfd > Author: Paul Eggert > Date: Fri Oc

svn commit: r289028 - in head/sys/dev/usb: . wlan

2015-10-08 Thread Gavin Atkinson
Author: gavin Date: Thu Oct 8 12:55:21 2015 New Revision: 289028 URL: https://svnweb.freebsd.org/changeset/base/289028 Log: Recognise the Netgear WNDA4100 (N900) 3x3 device in run(4). Modified: head/sys/dev/usb/usbdevs head/sys/dev/usb/wlan/if_run.c Modified: head/sys/dev/usb/usbdevs

svn commit: r289027 - head/contrib/tzcode/stdtime

2015-10-08 Thread Craig Rodrigues
Author: rodrigc Date: Thu Oct 8 11:42:15 2015 New Revision: 289027 URL: https://svnweb.freebsd.org/changeset/base/289027 Log: Merge: commit 400ecf36bb0b73f6390f9641e6cb8bbfb91a5cfd Author: Paul Eggert Date: Fri Oct 12 07:53:12 2012 -0700 Assume C89. https://github

svn commit: r289026 - head/sys/kern

2015-10-08 Thread Konstantin Belousov
Author: kib Date: Thu Oct 8 11:07:09 2015 New Revision: 289026 URL: https://svnweb.freebsd.org/changeset/base/289026 Log: Enforce the maxproc limitation before allocating struct proc, initial struct thread and kernel stack for the thread. Otherwise, a load similar to a fork bomb would exha

svn commit: r289025 - head/sys/sys

2015-10-08 Thread Fabien Thomas
Author: fabient Date: Thu Oct 8 10:00:41 2015 New Revision: 289025 URL: https://svnweb.freebsd.org/changeset/base/289025 Log: Fix r283120 which use class size larger than 8bits. The new mapping will restore binary compatibility with stable_10 but file generated since r283120 are broken.

svn commit: r289024 - head/sys/kern

2015-10-08 Thread Fabien Thomas
Author: fabient Date: Thu Oct 8 09:54:33 2015 New Revision: 289024 URL: https://svnweb.freebsd.org/changeset/base/289024 Log: Fix r283998 that broke mapin events for hwpmc. Reviewed by: jhb Sponsored by: Stormshield Modified: head/sys/kern/vfs_vnops.c Modified: head/sys/kern/vfs_vno

svn commit: r289023 - head/usr.sbin/pmcstat

2015-10-08 Thread Fabien Thomas
Author: fabient Date: Thu Oct 8 09:46:35 2015 New Revision: 289023 URL: https://svnweb.freebsd.org/changeset/base/289023 Log: Fix for r288176 changes related to debug symbols move. Reviewed by: emaste Sponsored by: Stormshield Modified: head/usr.sbin/pmcstat/pmcstat_log.c Modified: h

svn commit: r289021 - head/etc/periodic/daily

2015-10-08 Thread Dag-Erling Smørgrav
Author: des Date: Thu Oct 8 08:55:08 2015 New Revision: 289021 URL: https://svnweb.freebsd.org/changeset/base/289021 Log: Add -n to the ntpq command line so it will show IP addresses instead of host names, which rarely fit in the available space. MFC after:1 week Modified: head/et

Re: svn commit: r289002 - head/release/scripts

2015-10-08 Thread Garrett Cooper
> On Oct 7, 2015, at 23:14, Alexey Dokuchaev wrote: > >> On Thu, Oct 08, 2015 at 03:28:15AM +, Craig Rodrigues wrote: >> New Revision: 289002 >> URL: https://svnweb.freebsd.org/changeset/base/289002 >> >> Log: >> Use print as a function, not operator. > > Because?...(even when it looks ob

svn commit: r289017 - head/sys/cam/ctl

2015-10-08 Thread Alexander Motin
Author: mav Date: Thu Oct 8 07:34:30 2015 New Revision: 289017 URL: https://svnweb.freebsd.org/changeset/base/289017 Log: Add missing vnode lock in case of file modify request. Submitted by: Richard Kojedzinszky MFC after:1 week Modified: head/sys/cam/ctl/ctl_backend_block.c Modi

svn commit: r289012 - head/sys/dev/wpi

2015-10-08 Thread Adrian Chadd
Author: adrian Date: Thu Oct 8 07:22:40 2015 New Revision: 289012 URL: https://svnweb.freebsd.org/changeset/base/289012 Log: wpi(4): check size before transmitting frames In addition to https://bz-attachments.freebsd.org/attachment.cgi?id=156112; fixes https://bugs.freebsd.org/bugzilla/s

svn commit: r289011 - head/sys/dev/wpi

2015-10-08 Thread Adrian Chadd
Author: adrian Date: Thu Oct 8 07:21:36 2015 New Revision: 289011 URL: https://svnweb.freebsd.org/changeset/base/289011 Log: wpi(4): fix some byteorder conversions Submitted by: Differential Revision:https://reviews.freebsd.org/D3761 Modified: head/sys/dev/wpi/if_wpi.c Modif

svn commit: r289010 - head/sys/dev/wpi

2015-10-08 Thread Adrian Chadd
Author: adrian Date: Thu Oct 8 07:20:22 2015 New Revision: 289010 URL: https://svnweb.freebsd.org/changeset/base/289010 Log: wpi(4): fix 'maybe uninitialized' warnings Submitted by: Differential Revision:https://reviews.freebsd.org/D3760 Modified: head/sys/dev/wpi/if_wpi.c M

svn commit: r289008 - head/sys/dev/wpi

2015-10-08 Thread Adrian Chadd
Author: adrian Date: Thu Oct 8 07:18:28 2015 New Revision: 289008 URL: https://svnweb.freebsd.org/changeset/base/289008 Log: wpi(4): add some branch predictions. Submitted by: Differential Revision:https://reviews.freebsd.org/D3759 Modified: head/sys/dev/wpi/if_wpi.c Modifie

svn commit: r289006 - head/sys/dev/wpi

2015-10-08 Thread Adrian Chadd
Author: adrian Date: Thu Oct 8 07:17:11 2015 New Revision: 289006 URL: https://svnweb.freebsd.org/changeset/base/289006 Log: wpi(4): drop unnecessary locking in wpi_set_pslevel(). Submitted by: Differential Revision:https://reviews.freebsd.org/D3758 Modified: head/sys/dev/wpi