svn commit: r346176 - head/sys/sys

2019-04-12 Thread Warner Losh
Author: imp Date: Sat Apr 13 04:46:35 2019 New Revision: 346176 URL: https://svnweb.freebsd.org/changeset/base/346176 Log: Fix sbttons for values > 2s Add test against negative times. Add code to cope with larger values properly. Discussed with: bde@ (quite some time ago, for an

svn commit: r346175 - head/usr.bin/sort

2019-04-12 Thread Conrad Meyer
Author: cem Date: Sat Apr 13 04:42:17 2019 New Revision: 346175 URL: https://svnweb.freebsd.org/changeset/base/346175 Log: sort(1): Memoize MD5 computation to reduce repeated computation Experimentally, reduces sort -R time of a 148160 line corpus from about 3.15s to about 0.93s on this

svn commit: r346174 - in head/sys/powerpc: aim conf include ofw powernv powerpc

2019-04-12 Thread Justin Hibbits
Author: jhibbits Date: Sat Apr 13 04:03:18 2019 New Revision: 346174 URL: https://svnweb.freebsd.org/changeset/base/346174 Log: Add NUMA support to powerpc Summary: Initial NUMA support: - associate CPU with domain - associate memory ranges with domain - identify domain

svn commit: r346173 - head/sys/cddl/dev/dtrace/powerpc

2019-04-12 Thread Justin Hibbits
Author: jhibbits Date: Sat Apr 13 03:32:21 2019 New Revision: 346173 URL: https://svnweb.freebsd.org/changeset/base/346173 Log: powerpc/dtrace: Fix dtrace powerpc asm, and simplify stack walking Fix some execution bugs in the dtrace powerpc asm. addme pulls in the carry flag which we

svn commit: r346172 - head/sys/powerpc/powerpc

2019-04-12 Thread Justin Hibbits
Author: jhibbits Date: Sat Apr 13 02:29:30 2019 New Revision: 346172 URL: https://svnweb.freebsd.org/changeset/base/346172 Log: powerpc: Add file forgotten in r346144 Forgot to add the changes for DELAY(), which lowers priority during the delay period. Also, mark the timebase read as

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

2019-04-12 Thread Enji Cooper (yaneurabeya)
> On Apr 12, 2019, at 13:10, Tycho Nightingale wrote: > >> On Apr 12, 2019, at 12:43 PM, Enji Cooper wrote: >> >> >>> On Apr 12, 2019, at 5:46 AM, Tycho Nightingale wrote: >>> >>> Author: tychon >>> Date: Fri Apr 12 12:46:25 2019 >>> New Revision: 346150 >>> URL:

Re: svn commit: r346078 - head/sys/kern

2019-04-12 Thread Alan Somers
On Wed, Apr 10, 2019 at 7:02 AM Alan Somers wrote: > > Author: asomers > Date: Wed Apr 10 13:02:33 2019 > New Revision: 346078 > URL: https://svnweb.freebsd.org/changeset/base/346078 > > Log: > fix cache_lookup's documentation > > cache_lookup's documentation got dislocated by r324378.

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

2019-04-12 Thread Tycho Nightingale
> On Apr 12, 2019, at 12:43 PM, Enji Cooper wrote: > > >> On Apr 12, 2019, at 5:46 AM, Tycho Nightingale wrote: >> >> Author: tychon >> Date: Fri Apr 12 12:46:25 2019 >> New Revision: 346150 >> URL: https://svnweb.freebsd.org/changeset/base/346150 >> >> Log: >> for a cache-only zone the

Re: svn commit: r346160 - head/usr.bin/mandoc

2019-04-12 Thread Li-Wen Hsu
On Sat, Apr 13, 2019 at 3:53 AM Enji Cooper wrote: > > > > On Apr 12, 2019, at 11:35 AM, Li-Wen Hsu wrote: > > > > Author: lwhsu > > Date: Fri Apr 12 18:35:14 2019 > > New Revision: 346160 > > URL: https://svnweb.freebsd.org/changeset/base/346160 > > > > Log: > > Suppress old gcc warning about

svn commit: r346161 - head/sys/dev/virtio/scsi

2019-04-12 Thread Alexander Motin
Author: mav Date: Fri Apr 12 18:54:09 2019 New Revision: 346161 URL: https://svnweb.freebsd.org/changeset/base/346161 Log: Fix SCSI sense data pass through. MFC after:1 week Sponsored by: iXsystems, Inc. Modified: head/sys/dev/virtio/scsi/virtio_scsi.c Modified:

Re: svn commit: r346160 - head/usr.bin/mandoc

2019-04-12 Thread Enji Cooper
> On Apr 12, 2019, at 11:35 AM, Li-Wen Hsu wrote: > > Author: lwhsu > Date: Fri Apr 12 18:35:14 2019 > New Revision: 346160 > URL: https://svnweb.freebsd.org/changeset/base/346160 > > Log: > Suppress old gcc warning about null format string > > This is workaround to make head build on gcc

svn commit: r346160 - head/usr.bin/mandoc

2019-04-12 Thread Li-Wen Hsu
Author: lwhsu Date: Fri Apr 12 18:35:14 2019 New Revision: 346160 URL: https://svnweb.freebsd.org/changeset/base/346160 Log: Suppress old gcc warning about null format string This is workaround to make head build on gcc using architectures Sponsored by: The FreeBSD Foundation

svn commit: r346159 - head/usr.sbin/bhyve

2019-04-12 Thread Alexander Motin
Author: mav Date: Fri Apr 12 18:13:57 2019 New Revision: 346159 URL: https://svnweb.freebsd.org/changeset/base/346159 Log: Fix thread name buffer overflow. MFC after:1 week Modified: head/usr.sbin/bhyve/pci_virtio_scsi.c Modified: head/usr.sbin/bhyve/pci_virtio_scsi.c

svn commit: r346158 - head/lib/libthr/thread

2019-04-12 Thread Konstantin Belousov
Author: kib Date: Fri Apr 12 17:27:19 2019 New Revision: 346158 URL: https://svnweb.freebsd.org/changeset/base/346158 Log: Do not access mutex memory after unlock. PR: 237195 Reported by: free...@hurrikhan.eu Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

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

2019-04-12 Thread Konstantin Belousov
Author: kib Date: Fri Apr 12 17:11:50 2019 New Revision: 346157 URL: https://svnweb.freebsd.org/changeset/base/346157 Log: Ignore doomed vnodes in tmpfs_update_mtime(). Otherwise we might dereference NULL vp->v_data after VP_TO_TMPFS_NODE(). Reported and tested by: pho

Re: svn commit: r346120 - head/sys/kern

2019-04-12 Thread Konstantin Belousov
On Fri, Apr 12, 2019 at 04:23:35PM +0100, Edward Napierala wrote: > On Fri, 12 Apr 2019 at 16:20, Konstantin Belousov wrote: > > > > On Fri, Apr 12, 2019 at 03:28:26PM +0100, Edward Napierala wrote: > > > On Thu, 11 Apr 2019 at 17:26, Conrad Meyer wrote: > > > > > > > > Hi Edward, > > > > > > >

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

2019-04-12 Thread Enji Cooper
> On Apr 12, 2019, at 5:46 AM, Tycho Nightingale wrote: > > Author: tychon > Date: Fri Apr 12 12:46:25 2019 > New Revision: 346150 > URL: https://svnweb.freebsd.org/changeset/base/346150 > > Log: > for a cache-only zone the destructor tries to destroy a non-existent keg > > Reviewed by:

Re: svn commit: r346120 - head/sys/kern

2019-04-12 Thread Edward Napierala
On Fri, 12 Apr 2019 at 16:20, Konstantin Belousov wrote: > > On Fri, Apr 12, 2019 at 03:28:26PM +0100, Edward Napierala wrote: > > On Thu, 11 Apr 2019 at 17:26, Conrad Meyer wrote: > > > > > > Hi Edward, > > > > > > I have a question about this change below. > > > > > > On Thu, Apr 11, 2019 at

Re: svn commit: r346120 - head/sys/kern

2019-04-12 Thread Konstantin Belousov
On Fri, Apr 12, 2019 at 03:28:26PM +0100, Edward Napierala wrote: > On Thu, 11 Apr 2019 at 17:26, Conrad Meyer wrote: > > > > Hi Edward, > > > > I have a question about this change below. > > > > On Thu, Apr 11, 2019 at 4:22 AM Edward Tomasz Napierala > > wrote: > > > > > > Author: trasz > > >

Re: svn commit: r346120 - head/sys/kern

2019-04-12 Thread Edward Napierala
On Thu, 11 Apr 2019 at 17:26, Conrad Meyer wrote: > > Hi Edward, > > I have a question about this change below. > > On Thu, Apr 11, 2019 at 4:22 AM Edward Tomasz Napierala > wrote: > > > > Author: trasz > > Date: Thu Apr 11 11:21:45 2019 > > New Revision: 346120 > > URL:

svn commit: r346151 - head/sys/kern

2019-04-12 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Apr 12 14:18:16 2019 New Revision: 346151 URL: https://svnweb.freebsd.org/changeset/base/346151 Log: Remove unneeded conditionals for sv_ functions - all the ABIs (apart from null_sysvec) define them, so the 'else' branch is never taken. Reviewed by: kib MFC

svn commit: r346150 - head/sys/vm

2019-04-12 Thread Tycho Nightingale
Author: tychon Date: Fri Apr 12 12:46:25 2019 New Revision: 346150 URL: https://svnweb.freebsd.org/changeset/base/346150 Log: for a cache-only zone the destructor tries to destroy a non-existent keg Reviewed by: markj Sponsored by: Dell EMC Isilon Differential Revision:

Re: svn commit: r346096 - head/sys/arm/conf

2019-04-12 Thread Emmanuel Vadot
On Fri, 12 Apr 2019 03:50:45 -0700 (PDT) "Rodney W. Grimes" wrote: > > > > Hi Svatopluk, > > > > On Thu, 11 Apr 2019 21:23:35 +0200 > > Svatopluk Kraus wrote: > > > > > I understand the reason for GENERIC. But are we so blind that we will > > > delete everything that is not GENERIC? In

Re: svn commit: r346096 - head/sys/arm/conf

2019-04-12 Thread Rodney W. Grimes
> > Hi Svatopluk, > > On Thu, 11 Apr 2019 21:23:35 +0200 > Svatopluk Kraus wrote: > > > I understand the reason for GENERIC. But are we so blind that we will > > delete everything that is not GENERIC? In other words, why to delete > > nice specific KERNEL configurations for boards we support

svn commit: r346149 - in head: contrib/mandoc usr.bin/mandoc

2019-04-12 Thread Baptiste Daroussin
Author: bapt Date: Fri Apr 12 10:13:17 2019 New Revision: 346149 URL: https://svnweb.freebsd.org/changeset/base/346149 Log: Update mandoc to 1.14.5 MFC after:2 weeks Added: head/contrib/mandoc/arch.c - copied unchanged from r346148, vendor/mandoc/dist/arch.c

Re: svn commit: r346096 - head/sys/arm/conf

2019-04-12 Thread Emmanuel Vadot
Hi Svatopluk, On Thu, 11 Apr 2019 21:23:35 +0200 Svatopluk Kraus wrote: > I understand the reason for GENERIC. But are we so blind that we will > delete everything that is not GENERIC? In other words, why to delete > nice specific KERNEL configurations for boards we support when only >