svn commit: r355521 - in head: stand/powerpc/kboot sys/conf sys/powerpc/include

2019-12-07 Thread Justin Hibbits
Author: jhibbits Date: Sun Dec 8 04:36:42 2019 New Revision: 355521 URL: https://svnweb.freebsd.org/changeset/base/355521 Log: powerpc: Use builtins for fls/flsl Summary: There's no need to use the fallback fls() and flsl() libkern functions when the PowerISA includes instructions

svn commit: r355519 - head/sys/powerpc/aim

2019-12-07 Thread Justin Hibbits
Author: jhibbits Date: Sun Dec 8 04:17:04 2019 New Revision: 355519 URL: https://svnweb.freebsd.org/changeset/base/355519 Log: powerpc64/pmap: micro-optimize some PVO-PTE logic Summary: moea64_pte_sync_native() and moea64_pte_unset_native() don't need the full PTE created, they only

svn commit: r355518 - head/share/man/man5

2019-12-07 Thread Kristof Provost
Author: kp Date: Sun Dec 8 02:11:06 2019 New Revision: 355518 URL: https://svnweb.freebsd.org/changeset/base/355518 Log: pf: Remove references to 'egress' Avoid giving users the impression that FreeBSD has the automatic interface group 'egress'. Submitted by: tj AT mrsk.me

svn commit: r355517 - head/sys/vm

2019-12-07 Thread Jeff Roberson
Author: jeff Date: Sun Dec 8 01:55:23 2019 New Revision: 355517 URL: https://svnweb.freebsd.org/changeset/base/355517 Log: Fix two problems with r355149. The sysctl name collision code assumed that zones would never be freed. In the case of tmpfs this was not true. While here test for

svn commit: r355516 - head/sys/vm

2019-12-07 Thread Jeff Roberson
Author: jeff Date: Sun Dec 8 01:49:53 2019 New Revision: 355516 URL: https://svnweb.freebsd.org/changeset/base/355516 Log: It is safe to wire a page while the object is busy. Reviewed by: kib, markj Differential Revision:https://reviews.freebsd.org/D22636 Modified:

svn commit: r355515 - head/sys/vm

2019-12-07 Thread Jeff Roberson
Author: jeff Date: Sun Dec 8 01:49:03 2019 New Revision: 355515 URL: https://svnweb.freebsd.org/changeset/base/355515 Log: It is now safe to rename a page that is still on a queue. Allowing this is necessary for a forthcoming patch. Reviewed by: kib, markj Differential Revision:

svn commit: r355514 - head/sys/vm

2019-12-07 Thread Jeff Roberson
Author: jeff Date: Sun Dec 8 01:47:29 2019 New Revision: 355514 URL: https://svnweb.freebsd.org/changeset/base/355514 Log: Do not assert that the object lock is held in vm_object_set_writeable_dirty. A valid reference is all that is required. If we race with a deallocation we will

svn commit: r355513 - head/sbin/newfs_msdos

2019-12-07 Thread Xin LI
Author: delphij Date: Sun Dec 8 01:20:37 2019 New Revision: 355513 URL: https://svnweb.freebsd.org/changeset/base/355513 Log: Fix a couple of minor issues with newfs_msdos: - Do not unnecessarily strdup(). - Check return value of getdiskinfo(), if it failed, bail out. Reviewed

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

2019-12-07 Thread Jeff Roberson
Author: jeff Date: Sun Dec 8 01:17:38 2019 New Revision: 355512 URL: https://svnweb.freebsd.org/changeset/base/355512 Log: Handle multiple clock interrupts simultaneously in sched_clock(). Reviewed by: kib, markj, mav Differential Revision:https://reviews.freebsd.org/D22625

svn commit: r355511 - head/sys/vm

2019-12-07 Thread Jeff Roberson
Author: jeff Date: Sun Dec 8 01:16:22 2019 New Revision: 355511 URL: https://svnweb.freebsd.org/changeset/base/355511 Log: Reduce duplication in grab functions by providing allocflags based inlines. Reviewed by: kib, markj Differential Revision:

svn commit: r355510 - head/sys/vm

2019-12-07 Thread Jeff Roberson
Author: jeff Date: Sun Dec 8 01:15:06 2019 New Revision: 355510 URL: https://svnweb.freebsd.org/changeset/base/355510 Log: Use a variant slab structure for offpage zones. This saves space in embedded slabs but also is an opportunity to tidy up code and add accessor inlines. Reviewed

svn commit: r355509 - head/sys/fs/nfs

2019-12-07 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 8 00:06:00 2019 New Revision: 355509 URL: https://svnweb.freebsd.org/changeset/base/355509 Log: Fix kernel handling of a NFSERR_MINORVERSMISMATCH NFSv4 server reply. When an NFSv4 server replies NFSERR_MINORVERSMISMATCH, it does not generate a status

svn commit: r355508 - head/sys/vm

2019-12-07 Thread Mark Johnston
Author: markj Date: Sun Dec 8 00:02:36 2019 New Revision: 355508 URL: https://svnweb.freebsd.org/changeset/base/355508 Log: Add casts required by the 32-bit build after r355491. Modified: head/sys/vm/vm_map.c Modified: head/sys/vm/vm_map.c

svn commit: r355507 - head/sys/fs/nfs

2019-12-07 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 7 23:13:51 2019 New Revision: 355507 URL: https://svnweb.freebsd.org/changeset/base/355507 Log: Add some definitions for NFSv4.2 which will be used by subsequent commits. This is a preliminary commit of NFSv4.2 definitions that will be used by subsequent

svn commit: r355506 - head/usr.bin/gcore

2019-12-07 Thread Mark Johnston
Author: markj Date: Sat Dec 7 20:01:55 2019 New Revision: 355506 URL: https://svnweb.freebsd.org/changeset/base/355506 Log: gcore: Avoid using vm_map_entry_t. Use an internally defined structure instead, to avoid relying on kernel structure details. No functional change intended.

svn commit: r355505 - head/sys/vm

2019-12-07 Thread Mark Johnston
Author: markj Date: Sat Dec 7 19:36:40 2019 New Revision: 355505 URL: https://svnweb.freebsd.org/changeset/base/355505 Log: Provide vm_map_entry traversal routines to userspace. This is required for now to allow libprocstat to compile. Discussed with: dougm Modified:

svn commit: r355502 - head/lib/libprocstat

2019-12-07 Thread Doug Moore
Author: dougm Date: Sat Dec 7 18:40:46 2019 New Revision: 355502 URL: https://svnweb.freebsd.org/changeset/base/355502 Log: Fix a type error in fixing libprocstat to be compatible with vm_map changes. Approved by: markj Differential Revision: https://reviews.freebsd.org/D22726

svn commit: r355501 - head/lib/libprocstat

2019-12-07 Thread Doug Moore
Author: dougm Date: Sat Dec 7 18:16:35 2019 New Revision: 355501 URL: https://svnweb.freebsd.org/changeset/base/355501 Log: r355491 broke compilation of libprocstat.c. Change that code to use new methods for accessing first, next map entries. Approved by: kib Differential Revision:

svn commit: r355500 - in head: lib/libc/sys sys/kern

2019-12-07 Thread Konstantin Belousov
Author: kib Date: Sat Dec 7 18:07:49 2019 New Revision: 355500 URL: https://svnweb.freebsd.org/changeset/base/355500 Log: Only return EPERM from kill(-pid) when no process was signalled. As mandated by POSIX. Also clarify the kill(2) manpage. While there, restructure the code in

svn commit: r355499 - in head/sys/modules/gpio: . gpioths

2019-12-07 Thread Ian Lepore
Author: ian Date: Sat Dec 7 17:54:40 2019 New Revision: 355499 URL: https://svnweb.freebsd.org/changeset/base/355499 Log: Add module build stuff for gpioths(4), a driver for DHT11/DHT22 sensors. Added: head/sys/modules/gpio/gpioths/ head/sys/modules/gpio/gpioths/Makefile (contents,

svn commit: r355495 - head/sys/vm

2019-12-07 Thread Mateusz Guzik
Author: mjg Date: Sat Dec 7 17:28:41 2019 New Revision: 355495 URL: https://svnweb.freebsd.org/changeset/base/355495 Log: vm: fix sysctl vm.kstack_cache_size change report Cache gets resized correctly, but sysctl reports the wrong number: # sysctl vm.kstack_cache_size=512

svn commit: r355491 - head/sys/vm

2019-12-07 Thread Doug Moore
Author: dougm Date: Sat Dec 7 17:14:33 2019 New Revision: 355491 URL: https://svnweb.freebsd.org/changeset/base/355491 Log: Remove the next and prev fields from vm_map_entry, to save a bit of space. Where the vm_map tree now has null pointers, store pointers to next and previous entries

svn commit: r355489 - head/lib/libc/sys

2019-12-07 Thread Alan Somers
Author: asomers Date: Sat Dec 7 16:45:12 2019 New Revision: 355489 URL: https://svnweb.freebsd.org/changeset/base/355489 Log: clock_gettime(2): add a HISTORY section MFC after:2 weeks Modified: head/lib/libc/sys/clock_gettime.2 Modified: head/lib/libc/sys/clock_gettime.2

svn commit: r355488 - head/lib/libc/sys

2019-12-07 Thread Alan Somers
Author: asomers Date: Sat Dec 7 16:29:56 2019 New Revision: 355488 URL: https://svnweb.freebsd.org/changeset/base/355488 Log: lio_listio(2): add a HISTORY section MFC after:2 weeks Modified: head/lib/libc/sys/lio_listio.2 Modified: head/lib/libc/sys/lio_listio.2

svn commit: r355487 - in head/sys: arm64/arm64 arm64/include conf

2019-12-07 Thread Michal Meloun
Author: mmel Date: Sat Dec 7 16:14:23 2019 New Revision: 355487 URL: https://svnweb.freebsd.org/changeset/base/355487 Log: Add support for booting kernel directly from U-Boot using booti command. In some cases, like is locked bootstrap or device's inability to boot from removable media,

svn commit: r355486 - head/sbin/mount_fusefs

2019-12-07 Thread Jens Schweikhardt
Author: schweikh Date: Sat Dec 7 15:17:00 2019 New Revision: 355486 URL: https://svnweb.freebsd.org/changeset/base/355486 Log: Correct a handful of typos/grammos. Modified: head/sbin/mount_fusefs/mount_fusefs.8 Modified: head/sbin/mount_fusefs/mount_fusefs.8

svn commit: r355484 - head/sys/kern

2019-12-07 Thread Mateusz Guzik
Author: mjg Date: Sat Dec 7 12:56:24 2019 New Revision: 355484 URL: https://svnweb.freebsd.org/changeset/base/355484 Log: vfs: clean up delmntque similarly to vdrop r355414 Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c

svn commit: r355483 - head/sys/kern

2019-12-07 Thread Mateusz Guzik
Author: mjg Date: Sat Dec 7 12:55:58 2019 New Revision: 355483 URL: https://svnweb.freebsd.org/changeset/base/355483 Log: vfs: catch vn_printf up with reality - add the missing VV_VMSIZEVNLOCK and VV_READLINK flags - add decoding v_mflag While here sort flags. Modified: