svn commit: r355222 - head/sbin/ipfw

2019-11-29 Thread Xin LI
Author: delphij Date: Sat Nov 30 05:57:54 2019 New Revision: 355222 URL: https://svnweb.freebsd.org/changeset/base/355222 Log: Use strlcat(). MFC after:2 weeks Modified: head/sbin/ipfw/dummynet.c Modified: head/sbin/ipfw/dummynet.c ===

svn commit: r355218 - head/usr.bin/calendar/calendars

2019-11-29 Thread Greg Lehey
Author: grog Date: Fri Nov 29 23:04:45 2019 New Revision: 355218 URL: https://svnweb.freebsd.org/changeset/base/355218 Log: Correct date and time of George Harrison's death. Source: https://www.beatlesbible.com/2001/11/29/george-harrison-dies/ Modified: head/usr.bin/calendar/calendars/cal

svn commit: r355217 - head/sys/vm

2019-11-29 Thread Jeff Roberson
Author: jeff Date: Fri Nov 29 19:57:49 2019 New Revision: 355217 URL: https://svnweb.freebsd.org/changeset/base/355217 Log: Restore swap space accounting for non-anonymous swap objects. This was broken in r355082. Reduce some locking in nearby related object type checks. Reviewed by:

svn commit: r355216 - head/sys/vm

2019-11-29 Thread Jeff Roberson
Author: jeff Date: Fri Nov 29 19:49:20 2019 New Revision: 355216 URL: https://svnweb.freebsd.org/changeset/base/355216 Log: Avoid acquiring the object lock if color is already set. It can not be unset until the object is recycled so this check is stable. Now that we can acquire the ref wit

svn commit: r355215 - head/sys/vm

2019-11-29 Thread Jeff Roberson
Author: jeff Date: Fri Nov 29 19:47:40 2019 New Revision: 355215 URL: https://svnweb.freebsd.org/changeset/base/355215 Log: Fix a perf regression from r355122. We can use a shared lock to drop the last ref on vnodes. Reviewed by: kib, markj Differential Revision:https://review

Re: svn commit: r355145 - head/sys/arm64/arm64

2019-11-29 Thread Alan Cox
On 11/28/19 7:52 AM, Konstantin Belousov wrote: On Thu, Nov 28, 2019 at 09:17:15AM +, Andrew Turner wrote: On 28 Nov 2019, at 08:48, Michal Meloun wrote: On 27.11.2019 21:33, Alan Cox wrote: Author: alc Date: Wed Nov 27 20:33:49 2019 New Revision: 355145 URL: https://svnweb.freebsd.or

svn commit: r355214 - head/sys/dev/gpio

2019-11-29 Thread Ian Lepore
Author: ian Date: Fri Nov 29 18:05:54 2019 New Revision: 355214 URL: https://svnweb.freebsd.org/changeset/base/355214 Log: Ignore "gpio-hog" nodes when instantiating ofw_gpiobus children. Also, in ofw_gpiobus_probe() return BUS_PROBE_DEFAULT rather than 0; we are not the only possible drive

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

2019-11-29 Thread Andrew Turner
Author: andrew Date: Fri Nov 29 16:14:32 2019 New Revision: 355213 URL: https://svnweb.freebsd.org/changeset/base/355213 Log: Use the VM_MEMATTR macros to describe the MAIR offsets. Remove the duplicate macros that defined a subset of the VM_MEMATTR values. While here use VM_MEMATTR macro

svn commit: r355212 - head/sys/kern

2019-11-29 Thread Kyle Evans
Author: kevans Date: Fri Nov 29 14:46:13 2019 New Revision: 355212 URL: https://svnweb.freebsd.org/changeset/base/355212 Log: tty_rel_gone: add locking assertion We already assert the lock is held later during tty_rel_free(), but it is arguably good form to clarify locking expectations he

svn commit: r355211 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs kern sys

2019-11-29 Thread Konstantin Belousov
Author: kib Date: Fri Nov 29 14:02:32 2019 New Revision: 355211 URL: https://svnweb.freebsd.org/changeset/base/355211 Log: Add a VN_OPEN_INVFS flag. vn_open_cred() assumes that it is called from the top-level of a VFS syscall. Writers must call bwillwrite() before locking any VFS resou

svn commit: r355210 - head/sys/fs/nfsclient

2019-11-29 Thread Konstantin Belousov
Author: kib Date: Fri Nov 29 13:55:56 2019 New Revision: 355210 URL: https://svnweb.freebsd.org/changeset/base/355210 Log: In nfs_lock(), recheck vp->v_data after lock before accessing it. We might race with reclaim, and then this is no longer a nfs vnode, in which case we do not need to

svn commit: r355209 - head/sys/powerpc/pseries

2019-11-29 Thread Leandro Lupori
Author: luporl Date: Fri Nov 29 11:34:11 2019 New Revision: 355209 URL: https://svnweb.freebsd.org/changeset/base/355209 Log: [PPC] Remove extra \0 char inserted on vty by QEMU Since version 2.11.0, QEMU became bug-compatible with PowerVM's vty implementation, by inserting a \0 after ev