svn commit: r287550 - head/sys/vm

2015-09-07 Thread Alan Cox
Author: alc Date: Tue Sep 8 04:18:57 2015 New Revision: 287550 URL: https://svnweb.freebsd.org/changeset/base/287550 Log: To simplify upcoming changes to the inactive queue scan, change the code so that there is only one place where pages are freed and only one place where pages are moved t

svn commit: r287544 - head/share/dtrace

2015-09-07 Thread George V. Neville-Neil
Author: gnn Date: Tue Sep 8 00:30:10 2015 New Revision: 287544 URL: https://svnweb.freebsd.org/changeset/base/287544 Log: Update DTrace nfs scripts to track the proper provider names. Submitted by: Alex Burlyga Modified: head/share/dtrace/nfsattrstats head/share/dtrace/nfsclienttime

svn commit: r287543 - head/sys/dev/netmap

2015-09-07 Thread Adrian Chadd
Author: adrian Date: Mon Sep 7 23:16:39 2015 New Revision: 287543 URL: https://svnweb.freebsd.org/changeset/base/287543 Log: Don't call enable_all_rings if the adapter has been freed. This is a subtle use-after-free race that results in some very undesirable hang behaviour. Reviewed

Re: svn commit: r287542 - head/sys/dev/rccgpio

2015-09-07 Thread Luiz Otavio O Souza
On Mon, Sep 7, 2015 at 7:18 PM, Ian Lepore wrote: > On Mon, 2015-09-07 at 21:59 +, Luiz Otavio O Souza wrote: >> Author: loos >> Date: Mon Sep 7 21:59:11 2015 >> New Revision: 287542 >> URL: https://svnweb.freebsd.org/changeset/base/287542 >> >> Log: >> Fix off-by-one bugs. >> >> While her

Re: svn commit: r287542 - head/sys/dev/rccgpio

2015-09-07 Thread Ian Lepore
On Mon, 2015-09-07 at 21:59 +, Luiz Otavio O Souza wrote: > Author: loos > Date: Mon Sep 7 21:59:11 2015 > New Revision: 287542 > URL: https://svnweb.freebsd.org/changeset/base/287542 > > Log: > Fix off-by-one bugs. > > While here, only set the GPIO pin state for output pins. > It'

svn commit: r287542 - head/sys/dev/rccgpio

2015-09-07 Thread Luiz Otavio O Souza
Author: loos Date: Mon Sep 7 21:59:11 2015 New Revision: 287542 URL: https://svnweb.freebsd.org/changeset/base/287542 Log: Fix off-by-one bugs. While here, only set the GPIO pin state for output pins. Pointy hat to:loos Sponsored by: Rubicon Communications (Netgate) Modifie

svn commit: r287541 - head/lib/libz

2015-09-07 Thread Dimitry Andric
Author: dim Date: Mon Sep 7 20:55:14 2015 New Revision: 287541 URL: https://svnweb.freebsd.org/changeset/base/287541 Log: In libz's inflateMark(), avoid left-shifting a negative integer, which is undefined. Reviewed by: delphij Differential Revision: https://reviews.freebsd.org/D3344

svn commit: r287540 - head/sys/kern

2015-09-07 Thread Mateusz Guzik
Author: mjg Date: Mon Sep 7 20:05:56 2015 New Revision: 287540 URL: https://svnweb.freebsd.org/changeset/base/287540 Log: fd: make rights a mandatory argument to fgetvp_rights The only caller already always passes rights. Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/k

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

2015-09-07 Thread Mateusz Guzik
Author: mjg Date: Mon Sep 7 20:02:56 2015 New Revision: 287539 URL: https://svnweb.freebsd.org/changeset/base/287539 Log: fd: make the common case in filecaps_copy work lockless The filedesc lock is only needed if ioctls caps are present, which is a rare situation. This is a step towards

Re: svn commit: r287538 - head/sys/boot/efi/loader/arch/amd64

2015-09-07 Thread Adrian Chadd
Hi, every time I see efi framebuffer changes I get a little queasy. There's quite a lot of variance in well, what I once thought would be better than just dealing with a VESA framebuffer. So I'd really appreciate it (and I'm sure others would too!) if you listed all of the things you tested out c

svn commit: r287538 - head/sys/boot/efi/loader/arch/amd64

2015-09-07 Thread Marcel Moolenaar
Author: marcel Date: Mon Sep 7 17:56:49 2015 New Revision: 287538 URL: https://svnweb.freebsd.org/changeset/base/287538 Log: As expected, things aren't as simple as hoped. Consequently, we have no option but to use the smbios information to fill in the blanks. It's a good thing UGA is a pro

Re: svn commit: r287442 - in head: lib/libprocstat lib/libutil share/man/man5 sys/kern sys/sys

2015-09-07 Thread Conrad Meyer
On Sat, Sep 5, 2015 at 7:04 AM, Tijl Coosemans wrote: > This file can be compiled twice (included by both imgact_elf32.c and > imgact_elf64.c) so this sysctl can be added twice and the second time > results in an error message in dmesg: "can't re-use a leaf". Fixed in r287537, thanks! Conrad ___

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

2015-09-07 Thread Conrad E. Meyer
Author: cem Date: Mon Sep 7 16:44:28 2015 New Revision: 287537 URL: https://svnweb.freebsd.org/changeset/base/287537 Log: Follow-up to r287442: Move sysctl to compiled-once file Avoid duplicate sysctl nodes. Found by: tijl Approved by: markj (mentor) Sponsored by: EMC / Isilo

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

2015-09-07 Thread Andrew Turner
Author: andrew Date: Mon Sep 7 14:01:18 2015 New Revision: 287536 URL: https://svnweb.freebsd.org/changeset/base/287536 Log: Use load-acquire semantics while waiting for td_lock to be released. The store should have release semantics and will have due to the dsb above it so add a comment to

svn commit: r287535 - head/sys/netinet

2015-09-07 Thread Michael Tuexen
Author: tuexen Date: Mon Sep 7 14:00:38 2015 New Revision: 287535 URL: https://svnweb.freebsd.org/changeset/base/287535 Log: RFC 4960 requires that packets containing an INIT chunk bundled with another chunk are silently discarded. Do so, instead of sending an ABORT. MFC after:1 we

svn commit: r287534 - head/usr.sbin/ctld

2015-09-07 Thread Alexander Motin
Author: mav Date: Mon Sep 7 13:43:05 2015 New Revision: 287534 URL: https://svnweb.freebsd.org/changeset/base/287534 Log: Add two new portal group options "tag" and "foreign". They are going to be useful in clustered setups. Modified: head/usr.sbin/ctld/ctl.conf.5 head/usr.sbin/ctld/c

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

2015-09-07 Thread Andrew Turner
Author: andrew Date: Mon Sep 7 10:13:14 2015 New Revision: 287532 URL: https://svnweb.freebsd.org/changeset/base/287532 Log: When dropping to EL1 ensure we have written to all special registers by moving the instruction barrier to just before we drop exception level. Sponsored by: ABT Sy