Re: svn commit: r356194 - head/sys/dev/random

2019-12-29 Thread Mateusz Guzik
On 12/30/19, Conrad Meyer wrote: > Author: cem > Date: Mon Dec 30 01:38:19 2019 > New Revision: 356194 > URL: https://svnweb.freebsd.org/changeset/base/356194 > > Log: > random(4): Make entropy source deregistration safe > > Allow loadable modules that provide random entropy source(s) to

Re: svn commit: r356054 - in head: share/mk stand

2019-12-29 Thread Mark Millard via svn-src-head
On 2019-Dec-24, at 21:26, Mark Millard wrote: > In: > > +# Defines a variable for Binutils linker, to be used to workaround some > +# issue with LLVM LLD (i.e. support for PowerPC32 bit on PowerPC64) > +# > +# This is an unavoidable cross coupling with Makefile.inc1 and > +# normal builds

svn commit: r356200 - in head/sys: cam/ctl dev/md dev/nvdimm geom kern

2019-12-29 Thread Alexander Motin
Author: mav Date: Mon Dec 30 03:13:38 2019 New Revision: 356200 URL: https://svnweb.freebsd.org/changeset/base/356200 Log: Use atomic for start_count in devstat_start_transaction(). Combined with earlier nstart/nend removal it allows to remove several locks from request path of GEOM and

svn commit: r356199 - in head/sys/powerpc: include powernv

2019-12-29 Thread Brandon Bergren
Author: bdragon Date: Mon Dec 30 02:56:47 2019 New Revision: 356199 URL: https://svnweb.freebsd.org/changeset/base/356199 Log: [PowerPC] Fix panic when attempting to handle an HMI from an idle thread In IRC, sfs_ finally managed to get a good trace of a kernel panic that was happening

svn commit: r356196 - in head/sys: arm/arm isa mips/mips powerpc/powerpc sparc64/sparc64

2019-12-29 Thread Kyle Evans
Author: kevans Date: Mon Dec 30 02:07:55 2019 New Revision: 356196 URL: https://svnweb.freebsd.org/changeset/base/356196 Log: sc(4) md bits: stop setting sc->kbd entirely The machdep parts no longer need to touch keyboard parts after r356043; sc->kbd will be 0-initialized and this works

svn commit: r356195 - head/sys/dev/virtio/random

2019-12-29 Thread Conrad Meyer
Author: cem Date: Mon Dec 30 01:40:59 2019 New Revision: 356195 URL: https://svnweb.freebsd.org/changeset/base/356195 Log: virtio_random(4): Drop no longer needed unload kludge After r356194, source deregistration no longer races with concurrent use. Reviewed by: bryanv, markm

svn commit: r356194 - head/sys/dev/random

2019-12-29 Thread Conrad Meyer
Author: cem Date: Mon Dec 30 01:38:19 2019 New Revision: 356194 URL: https://svnweb.freebsd.org/changeset/base/356194 Log: random(4): Make entropy source deregistration safe Allow loadable modules that provide random entropy source(s) to safely unload. Prior to this change, no driver

svn commit: r356192 - head/sys/geom

2019-12-29 Thread Alexander Motin
Author: mav Date: Mon Dec 30 00:46:10 2019 New Revision: 356192 URL: https://svnweb.freebsd.org/changeset/base/356192 Log: Retire nstart/nend counters. Those counters were abused for decade to workaround broken orphanization process in different classes by delaying the call while there

Re: svn commit: r356159 - head/sys/vm

2019-12-29 Thread Oliver Pinter
Thanks for the detailed answer Mark! On Sunday, December 29, 2019, Mark Johnston wrote: > On Sun, Dec 29, 2019 at 03:39:55AM +0100, Oliver Pinter wrote: > > Is there any performance measurement from before and after. It would be > > nice to see them. > > I did not do extensive benchmarking.

svn commit: r356187 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2019-12-29 Thread Mark Johnston
Author: markj Date: Sun Dec 29 21:46:50 2019 New Revision: 356187 URL: https://svnweb.freebsd.org/changeset/base/356187 Log: Add libdtrace support for arm64 USDT probes. arm64 is still lacking a fasttrap implementation, which is required to actually enable userland probes, but this at

svn commit: r356186 - head/sys/sys

2019-12-29 Thread Mark Johnston
Author: markj Date: Sun Dec 29 21:46:00 2019 New Revision: 356186 URL: https://svnweb.freebsd.org/changeset/base/356186 Log: Add ARMv8 static relocation types used for control flow instructions. MFC after:1 week Sponsored by: The FreeBSD Foundation Modified:

svn commit: r356185 - in head: lib/geom lib/geom/sched sys/geom sys/geom/sched sys/modules/geom sys/modules/geom/geom_sched sys/sys

2019-12-29 Thread Alexander Motin
Author: mav Date: Sun Dec 29 21:16:03 2019 New Revision: 356185 URL: https://svnweb.freebsd.org/changeset/base/356185 Log: Remove GEOM_SCHED class and gsched tool. This code was not actively maintained since it was introduced 10 years ago. It lacks support for many later GEOM features,

svn commit: r356184 - head/usr.sbin/powerd

2019-12-29 Thread Mark Johnston
Author: markj Date: Sun Dec 29 20:57:49 2019 New Revision: 356184 URL: https://svnweb.freebsd.org/changeset/base/356184 Log: powerd(8): Fix a memory leak when we fail to read frequency levels. PR: 242967 Submitted by: Hans Christian Woithe MFC after:3 days Modified:

svn commit: r356183 - head/sys/vm

2019-12-29 Thread Mark Johnston
Author: markj Date: Sun Dec 29 20:01:03 2019 New Revision: 356183 URL: https://svnweb.freebsd.org/changeset/base/356183 Log: Restore a vm_page_wired() check in vm_page_mvqueue() after r356156. We now set PGA_DEQUEUE on a managed page when it is wired after allocation, and

svn commit: r356182 - head/sys/geom/shsec

2019-12-29 Thread Alexander Motin
Author: mav Date: Sun Dec 29 19:33:41 2019 New Revision: 356182 URL: https://svnweb.freebsd.org/changeset/base/356182 Log: Missed part of r356162. If we postpone consumer destruction till close, then the close calls should not be ignored. Delay geom withering till the last close too.

svn commit: r356181 - head/sys/geom/virstor

2019-12-29 Thread Alexander Motin
Author: mav Date: Sun Dec 29 19:21:29 2019 New Revision: 356181 URL: https://svnweb.freebsd.org/changeset/base/356181 Log: Fix GEOM_VIRSTOR orphanization. Previous code closed and destroyed consumer even with I/O in progress. This patch postpones the destruction till the last close.

Re: svn commit: r356180 - head/sys/conf

2019-12-29 Thread Ian Lepore
On Sun, 2019-12-29 at 18:17 +, Ian Lepore wrote: > Author: ian > Date: Sun Dec 29 18:17:12 2019 > New Revision: 356180 > URL: https://svnweb.freebsd.org/changeset/base/356180 > > Log: > Eliminate the generated ldscript for arm and arm64, and strip $a/$d marker > symbols from the linked

svn commit: r356180 - head/sys/conf

2019-12-29 Thread Ian Lepore
Author: ian Date: Sun Dec 29 18:17:12 2019 New Revision: 356180 URL: https://svnweb.freebsd.org/changeset/base/356180 Log: Eliminate the generated ldscript for arm and arm64, and strip $a/$d marker symbols from the linked kernel. The main thrust of this change is to generate a kernel

svn commit: r356179 - head/lib/libc/gen

2019-12-29 Thread Pawel Biernacki
Author: kaktus Date: Sun Dec 29 17:19:57 2019 New Revision: 356179 URL: https://svnweb.freebsd.org/changeset/base/356179 Log: sysctlbyname(2): Remove temporary compatibility layer Remove temporary compatibility layer introduced in r351729. More that 3 months should be enough for

svn commit: r356178 - head/sys/geom/mountver

2019-12-29 Thread Alexander Motin
Author: mav Date: Sun Dec 29 17:10:21 2019 New Revision: 356178 URL: https://svnweb.freebsd.org/changeset/base/356178 Log: Fix GEOM_MOUNTVER orphanization. Previous code closed and detached consumer even with I/O still in progress. This patch adds locking and request counting to postpone

Re: svn commit: r356159 - head/sys/vm

2019-12-29 Thread Mark Johnston
On Sun, Dec 29, 2019 at 03:39:55AM +0100, Oliver Pinter wrote: > Is there any performance measurement from before and after. It would be > nice to see them. I did not do extensive benchmarking. The aim of the patch set was simply to remove the use of the hashed page lock, since it shows up

svn commit: r356177 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/linux i386/linux

2019-12-29 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Dec 29 15:53:55 2019 New Revision: 356177 URL: https://svnweb.freebsd.org/changeset/base/356177 Log: Implement Linux syslog(2) syscall; just enough to make Linux dmesg(8) utility work. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Differential

svn commit: r356176 - in head: lib/geom/nop sys/geom/nop

2019-12-29 Thread Mariusz Zaborski
Author: oshogbo Date: Sun Dec 29 15:47:37 2019 New Revision: 356176 URL: https://svnweb.freebsd.org/changeset/base/356176 Log: gnop: change the "count until fail" option Change the "count_until_fail" option of gnop, now it enables the failing rating instead of setting them to 100%.

svn commit: r356175 - head/sys/compat/linprocfs

2019-12-29 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Dec 29 15:46:59 2019 New Revision: 356175 URL: https://svnweb.freebsd.org/changeset/base/356175 Log: Make linprocfs(5) provide an empty /proc/modules. This should silence some warnings. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified:

svn commit: r356174 - in head: lib/geom/nop sys/geom/nop

2019-12-29 Thread Mariusz Zaborski
Author: oshogbo Date: Sun Dec 29 15:40:02 2019 New Revision: 356174 URL: https://svnweb.freebsd.org/changeset/base/356174 Log: gnop: allow to change the name of created device Thanks to this option we can create more then one gnop provider from single provider. This may be useful for

svn commit: r356173 - head/sys/vm

2019-12-29 Thread Mark Johnston
Author: markj Date: Sun Dec 29 15:39:43 2019 New Revision: 356173 URL: https://svnweb.freebsd.org/changeset/base/356173 Log: Clear queue op flags in vm_page_mvqueue(). This fixes a regression in r356155, introduced at the last minute. In particular, we must clear PGA_REQUEUE_HEAD before

svn commit: r356172 - head/sys/compat/linux

2019-12-29 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Dec 29 13:54:02 2019 New Revision: 356172 URL: https://svnweb.freebsd.org/changeset/base/356172 Log: Make Linux stat(2) et al distinguish between block and character devices. It's required for LTP, among other things. It's not complete, but good enough for now.

svn commit: r356171 - head/usr.bin/vmstat

2019-12-29 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Dec 29 12:24:41 2019 New Revision: 356171 URL: https://svnweb.freebsd.org/changeset/base/356171 Log: Move type casts into a single place. No functional changes. MFC after:2 weeks Modified: head/usr.bin/vmstat/vmstat.c Modified: head/usr.bin/vmstat/vmstat.c

svn commit: r356170 - head/sys/compat/linux

2019-12-29 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Dec 29 12:22:11 2019 New Revision: 356170 URL: https://svnweb.freebsd.org/changeset/base/356170 Log: Implement Linux BLKGETSIZE64 ioctl. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/compat/linux/linux_ioctl.c