svn commit: r355224 - in head/stand/efi: include libefi

2019-11-30 Thread Toomas Soome
Author: tsoome Date: Sat Nov 30 09:11:28 2019 New Revision: 355224 URL: https://svnweb.freebsd.org/changeset/base/355224 Log: loader.efi: efipart needs better support detecting nested partitions Just as disks can have nested partitions, the same happens with cd devices, so we need to dete

svn commit: r355225 - head/sbin/bectl

2019-11-30 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Sat Nov 30 14:17:45 2019 New Revision: 355225 URL: https://svnweb.freebsd.org/changeset/base/355225 Log: Capitalize some user-visible output messages in the bectl utility. No functional changes. Approved by: imp@ MFC after:7 days Dif

svn commit: r355226 - head/sys/sys

2019-11-30 Thread Mateusz Guzik
Author: mjg Date: Sat Nov 30 16:40:16 2019 New Revision: 355226 URL: https://svnweb.freebsd.org/changeset/base/355226 Log: vfs: swap placement between v_type and v_tag The former is frequently accessed (e.g., in vfs_cache_lookup) and shares the cacheline with v_usecount, avoidably adding

svn commit: r355227 - head/sys/fs/tmpfs

2019-11-30 Thread Mateusz Guzik
Author: mjg Date: Sat Nov 30 16:41:47 2019 New Revision: 355227 URL: https://svnweb.freebsd.org/changeset/base/355227 Log: tmpfs: add fast path to tmpfs_access for common case lookup VEXEC consists of vast majority of all calls and almost all targets have at least 0111. Modified: head/

svn commit: r355228 - in head/sys: fs/devfs kern

2019-11-30 Thread Mateusz Guzik
Author: mjg Date: Sat Nov 30 16:46:19 2019 New Revision: 355228 URL: https://svnweb.freebsd.org/changeset/base/355228 Log: devfs: introduce a per-dev lock to protect ->si_devsw This allows bumping threadcount without taking the global devmtx lock. In particular this eliminates contenti

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

2019-11-30 Thread Mateusz Guzik
Author: mjg Date: Sat Nov 30 17:22:10 2019 New Revision: 355230 URL: https://svnweb.freebsd.org/changeset/base/355230 Log: Add a way to inject fences using IPIs A variant of this facility was already used by rmlocks where IPIs would enforce ordering. This allows to elide fences where

svn commit: r355231 - head/sys/kern

2019-11-30 Thread Mateusz Guzik
Author: mjg Date: Sat Nov 30 17:24:42 2019 New Revision: 355231 URL: https://svnweb.freebsd.org/changeset/base/355231 Log: lockprof: use IPI-injecetd fences to fix hangs on stat dump and reset The previously used quiesce_all_cpus walks all CPUs and waits until curthread can run on them. E

svn commit: r355232 - head/libexec/rc/rc.d

2019-11-30 Thread Mateusz Guzik
Author: mjg Date: Sat Nov 30 17:30:01 2019 New Revision: 355232 URL: https://svnweb.freebsd.org/changeset/base/355232 Log: ldconfig: fetch hw.machine_arch only once This happens to be of significance with poudriere which runs the script a lot when installing packages. Modified: head/li

Re: svn commit: r355164 - in head: . share/man/man4 sys/amd64/conf sys/conf sys/dev/trm sys/i386/conf sys/modules sys/modules/trm

2019-11-30 Thread Enji Cooper
> On Nov 27, 2019, at 6:32 PM, Scott Long wrote: > > Author: scottl > Date: Thu Nov 28 02:32:17 2019 > New Revision: 355164 > URL: https://svnweb.freebsd.org/changeset/base/355164 > > Log: > Remove the trm(4) driver > > Differential Revision: https://reviews.freebsd.org/D22575 Hi Scot

Re: svn commit: r355164 - in head: . share/man/man4 sys/amd64/conf sys/conf sys/dev/trm sys/i386/conf sys/modules sys/modules/trm

2019-11-30 Thread Warner Losh
On Sat, Nov 30, 2019 at 10:47 AM Enji Cooper wrote: > > > On Nov 27, 2019, at 6:32 PM, Scott Long wrote: > > > > Author: scottl > > Date: Thu Nov 28 02:32:17 2019 > > New Revision: 355164 > > URL: https://svnweb.freebsd.org/changeset/base/355164 > > > > Log: > > Remove the trm(4) driver > > > >

Re: svn commit: r355164 - in head: . share/man/man4 sys/amd64/conf sys/conf sys/dev/trm sys/i386/conf sys/modules sys/modules/trm

2019-11-30 Thread Enji Cooper
> On Nov 30, 2019, at 10:03 AM, Warner Losh wrote: > > > > On Sat, Nov 30, 2019 at 10:47 AM Enji Cooper > wrote: > > > On Nov 27, 2019, at 6:32 PM, Scott Long wrote: > > > > Author: scottl > > Date: Thu Nov 28 02:32:17 2019 > > New Revision: 355164 > > URL: ht

Re: svn commit: r355164 - in head: . share/man/man4 sys/amd64/conf sys/conf sys/dev/trm sys/i386/conf sys/modules sys/modules/trm

2019-11-30 Thread Warner Losh
On Sat, Nov 30, 2019 at 11:58 AM Enji Cooper wrote: > > On Nov 30, 2019, at 10:03 AM, Warner Losh wrote: > > > > On Sat, Nov 30, 2019 at 10:47 AM Enji Cooper > wrote: > >> >> > On Nov 27, 2019, at 6:32 PM, Scott Long wrote: >> > >> > Author: scottl >> > Date: Thu Nov 28 02:32:17 2019 >> > New

svn commit: r355239 - head/sys/dev/ofw

2019-11-30 Thread Ian Lepore
Author: ian Date: Sat Nov 30 19:16:44 2019 New Revision: 355239 URL: https://svnweb.freebsd.org/changeset/base/355239 Log: Add an OFWBUS_PNP_INFO() macro for devices that hang directly off the root ofwbus. Also, apply some style(9) whitespace fixing to the SIMPLEBUS_PNP_INFO() macro (no fun

Re: svn commit: r355164 - in head: . share/man/man4 sys/amd64/conf sys/conf sys/dev/trm sys/i386/conf sys/modules sys/modules/trm

2019-11-30 Thread Enji Cooper
> On Nov 30, 2019, at 11:01 AM, Warner Losh wrote: > > On Sat, Nov 30, 2019 at 11:58 AM Enji Cooper > wrote: > >> On Nov 30, 2019, at 10:03 AM, Warner Losh > > wrote: >> >> >> >> On Sat, Nov 30, 2019 at 10:47 AM Enji Cooper >

svn commit: r355241 - head/sys/kern

2019-11-30 Thread Mateusz Guzik
Author: mjg Date: Sat Nov 30 19:33:02 2019 New Revision: 355241 URL: https://svnweb.freebsd.org/changeset/base/355241 Log: smp: cast the read in quiesce_all_critical through void * Fixes compilation on some 32-bit arm platforms. Sponsored by: The FreeBSD Foundation Modified: head/sy

Re: svn commit: r355164 - in head: . share/man/man4 sys/amd64/conf sys/conf sys/dev/trm sys/i386/conf sys/modules sys/modules/trm

2019-11-30 Thread Ian Lepore
On Sat, 2019-11-30 at 11:25 -0800, Enji Cooper wrote: > > On Nov 30, 2019, at 11:01 AM, Warner Losh wrote: > > > > On Sat, Nov 30, 2019 at 11:58 AM Enji Cooper > > wrote: > > > > > On Nov 30, 2019, at 10:03 AM, Warner Losh > > > wrote: > >

svn commit: r355247 - head/libexec/save-entropy

2019-11-30 Thread Xin LI
Author: delphij Date: Sat Nov 30 20:06:53 2019 New Revision: 355247 URL: https://svnweb.freebsd.org/changeset/base/355247 Log: Reduce disk write load in /usr/libexec/save-entropy. Before this commit, the save-entropy script rotates entropy files like logs. This involves creating a new fil

svn commit: r355248 - in head: share/man/man4 sys/fs/devfs sys/kern

2019-11-30 Thread Kyle Evans
Author: kevans Date: Sat Nov 30 20:10:50 2019 New Revision: 355248 URL: https://svnweb.freebsd.org/changeset/base/355248 Log: tty: implement TIOCNOTTY Generally, it's preferred that an application fork/setsid if it doesn't want to keep its controlling TTY, but it could be that a debugger

Re: svn commit: r355227 - head/sys/fs/tmpfs

2019-11-30 Thread Konstantin Belousov
On Sat, Nov 30, 2019 at 04:41:48PM +, Mateusz Guzik wrote: > Author: mjg > Date: Sat Nov 30 16:41:47 2019 > New Revision: 355227 > URL: https://svnweb.freebsd.org/changeset/base/355227 > > Log: > tmpfs: add fast path to tmpfs_access for common case lookup > > VEXEC consists of vast majo

Re: svn commit: r355227 - head/sys/fs/tmpfs

2019-11-30 Thread Mateusz Guzik
On 12/1/19, Konstantin Belousov wrote: > On Sat, Nov 30, 2019 at 04:41:48PM +, Mateusz Guzik wrote: >> Author: mjg >> Date: Sat Nov 30 16:41:47 2019 >> New Revision: 355227 >> URL: https://svnweb.freebsd.org/changeset/base/355227 >> >> Log: >> tmpfs: add fast path to tmpfs_access for common

Re: svn commit: r355227 - head/sys/fs/tmpfs

2019-11-30 Thread Konstantin Belousov
On Sun, Dec 01, 2019 at 12:15:06AM +0100, Mateusz Guzik wrote: > On 12/1/19, Konstantin Belousov wrote: > > On Sat, Nov 30, 2019 at 04:41:48PM +, Mateusz Guzik wrote: > >> Author: mjg > >> Date: Sat Nov 30 16:41:47 2019 > >> New Revision: 355227 > >> URL: https://svnweb.freebsd.org/changeset/b

Re: svn commit: r355227 - head/sys/fs/tmpfs

2019-11-30 Thread Mateusz Guzik
On 12/1/19, Konstantin Belousov wrote: > On Sun, Dec 01, 2019 at 12:15:06AM +0100, Mateusz Guzik wrote: >> On 12/1/19, Konstantin Belousov wrote: >> > On Sat, Nov 30, 2019 at 04:41:48PM +, Mateusz Guzik wrote: >> >> Author: mjg >> >> Date: Sat Nov 30 16:41:47 2019 >> >> New Revision: 355227 >

svn commit: r355254 - in head/sys: netinet netinet6 netipsec

2019-11-30 Thread Bjoern A. Zeeb
Author: bz Date: Sun Dec 1 00:22:04 2019 New Revision: 355254 URL: https://svnweb.freebsd.org/changeset/base/355254 Log: Fix m_pullup() problem after removing PULLDOWN_TESTs and KAME EXT_*macros. r354748-354750 replaced the KAME macros with m_pulldown() calls. Contrary to the rest of the

svn commit: r355255 - head/sys/fs/tmpfs

2019-11-30 Thread Mateusz Guzik
Author: mjg Date: Sun Dec 1 00:34:49 2019 New Revision: 355255 URL: https://svnweb.freebsd.org/changeset/base/355255 Log: tmpfs: use proper macros for permission values in tmpfs_access While here group them in one var to prevent overy long lines. Perhaps a general macro of the same sort

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

2019-11-30 Thread Mateusz Guzik
Author: mjg Date: Sun Dec 1 00:35:08 2019 New Revision: 355256 URL: https://svnweb.freebsd.org/changeset/base/355256 Log: lockmgr: remove more remnants of adaptive spinning Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/kern_lock.c head/sys/sys/lockmgr.h Modified: head/

svn commit: r355257 - head/sys/dev/usb/input

2019-11-30 Thread Kyle Evans
Author: kevans Date: Sun Dec 1 03:56:18 2019 New Revision: 355257 URL: https://svnweb.freebsd.org/changeset/base/355257 Log: usb: remove some extraneous tty.h includes Modified: head/sys/dev/usb/input/uep.c head/sys/dev/usb/input/ukbd.c head/sys/dev/usb/input/ums.c Modified: head/sys/de

svn commit: r355258 - head/sys/amd64/vmm/amd

2019-11-30 Thread Anish Gupta
Author: anish Date: Sun Dec 1 04:00:08 2019 New Revision: 355258 URL: https://svnweb.freebsd.org/changeset/base/355258 Log: bhyve amd: amdvi_dump_cmds() log the command for which the command completion failed. Completion is checked in poll mode although it can be done using interrupts. No